# Test cscope functionality.
-. ./defs || Exit 1
+. ./defs || exit 1
plan_ 18
-ocwd=`pwd` || fatal_ "getting top-level directory"
+ocwd=$(pwd) || fatal_ "getting top-level directory"
cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/Makefile])
# VPATH build.
$MAKE distcleancheck
fi \
- && test ! -f cscope.files \
- && test ! -f cscope.out \
- && test ! -f cscope.in.out \
- && test ! -f cscope.po.out \
+ && test ! -e cscope.files \
+ && test ! -e cscope.out \
+ && test ! -e cscope.in.out \
+ && test ! -e cscope.po.out \
|| r='not ok'
result_ "$r" "[$pfx] make distcheck"
}
else
- skip_row_ 12 -r "cscope in VPATH required GNU make"
+ skip_row_ 12 -r "cscope in VPATH requires GNU make"
fi