tests: prefer "test ! -e FILE" to check that a file doesn't exist
[platform/upstream/automake.git] / t / yacc-basic.sh
index 520533e..4835235 100755 (executable)
@@ -102,7 +102,7 @@ test -f bar-parse.c
 ./configure # We must re-create 'Makefile'.
 $MAKE maintainer-clean
 ls -l
-test ! -f parse.c
-test ! -f bar-parse.c
+test ! -e parse.c
+test ! -e bar-parse.c
 
 :