automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {master} tests: prefer "test ! -e FILE" to check that a file doesn


From: Stefano Lattarini
Subject: [FYI] {master} tests: prefer "test ! -e FILE" to check that a file doesn't exist
Date: Sat, 30 Jun 2012 19:46:53 +0200

* t/autohdrdry.sh: Here, rather than using "test ! -r FILE".

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/autohdrdry.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/autohdrdry.sh b/t/autohdrdry.sh
index 3bd474e..af6c198 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
 
 :
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]