tests: prefer "test ! -e FILE" to check that a file doesn't exist
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 30 Jun 2012 17:46:13 +0000 (19:46 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 30 Jun 2012 17:46:13 +0000 (19:46 +0200)
* t/autohdrdry.sh: Here, rather than using "test ! -r FILE".

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/autohdrdry.sh

index 3bd474e..af6c198 100755 (executable)
@@ -37,6 +37,6 @@ $MAKE
 rm -f config.h
 $MAKE -n
 test -f stamp-h1
-test ! -r config.h
+test ! -e config.h
 
 :