automake-patches
[Top][All Lists]
Advanced

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

[FYI] {master} tests: remove stray uses of 'Exit', in favour of simple '


From: Stefano Lattarini
Subject: [FYI] {master} tests: remove stray uses of 'Exit', in favour of simple 'exit'
Date: Fri, 28 Dec 2012 22:00:46 +0100

* t/warnopts.sh: Here.  Suggested by the 'sc_tests_exit_not_Exit'
maintainer check.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/warnopts.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/warnopts.sh b/t/warnopts.sh
index b9a5385..a3578a9 100755
--- a/t/warnopts.sh
+++ b/t/warnopts.sh
@@ -55,8 +55,8 @@ AUTOMAKE_fails
 #   sub/Makefile.am:1: warning: 'AUTOMAKE_OPTIONS' cannot have conditional 
contents
 grep '^Makefile.am:.*foo_SOURCES' stderr
 grep '^sub/Makefile.am:.*AUTOMAKE_OPTIONS' stderr
-grep '^sub/Makefile.am:.*foo_SOURCES' stderr && Exit 1
-grep '^Makefile.am:.*AUTOMAKE_OPTIONS' stderr && Exit 1
+grep '^sub/Makefile.am:.*foo_SOURCES' stderr && exit 1
+grep '^Makefile.am:.*AUTOMAKE_OPTIONS' stderr && exit 1
 # Only three lines of warnings.
 test $(grep -v 'warnings are treated as errors' stderr | wc -l) = 3
 
-- 
1.8.0.1.409.g252f922




reply via email to

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