From: Stefano Lattarini Date: Sat, 30 Jun 2012 17:46:13 +0000 (+0200) Subject: tests: prefer "test ! -e FILE" to check that a file doesn't exist X-Git-Tag: v1.12b~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=848744c8189abdba50d0fdf5dbd2a713ac210632;p=thirdparty%2Fautomake.git tests: prefer "test ! -e FILE" to check that a file doesn't exist * t/autohdrdry.sh: Here, rather than using "test ! -r FILE". Signed-off-by: Stefano Lattarini --- diff --git a/t/autohdrdry.sh b/t/autohdrdry.sh index 3bd474ea0..af6c198d1 100755 --- a/t/autohdrdry.sh +++ b/t/autohdrdry.sh @@ -37,6 +37,6 @@ $MAKE rm -f config.h $MAKE -n test -f stamp-h1 -test ! -r config.h +test ! -e config.h :