tests: prefer "test ! -e FILE" to check that a file doesn't exist
[platform/upstream/automake.git] / t / txinfo28.sh
index e6613b4..5b02a05 100755 (executable)
@@ -82,7 +82,7 @@ cd build
 $MAKE
 # main.info should be rebuilt in the current directory.
 test -f main.info
-test ! -f ../main.info
+test ! -e ../main.info
 $MAKE dvi
 test -f main.dvi