]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
maintcheck: fix spurious failure in 'color2.test'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 12 Nov 2011 21:24:36 +0000 (22:24 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 12 Nov 2011 21:24:36 +0000 (22:24 +0100)
* tests/color2.test: Avoid creative quoting to avoid a spurious
failure of the `sc_tests_Exit_not_exit' maintainer check.

ChangeLog
tests/color2.test

index 89348139ec090b85f3055f445e6e3b0aaf6510af..3cccebc904f80b6c1c18c15d8494aec62b0bab5b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       maintcheck: fix spurious failure in 'color2.test'
+       * tests/color2.test: Avoid creative quoting to avoid a spurious
+       failure of the `sc_tests_Exit_not_exit' maintainer check.
+
 2011-11-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        tests: fix spurious error in 'uninstall-fail.test' on Solaris
index 2217d8866a266e78bf28674fe8beeb0ec14ad2b5..bc9731316f1f0d28a58ebf8f185e44a213f6ea01 100755 (executable)
@@ -39,7 +39,8 @@ case `echo "$std" | grep .` in
 esac
 
 # This test requires a working a working `expect' program.
-(set +e; expect -c "exit 77"; test $? -eq 77) \
+# Creative quoting required to avoid spurious maintainer-check failure.
+(set +e; expect -c 'exit ''77'; test $? -eq 77) \
   || skip_ "requires a working expect program"
 
 # Also, if the $MAKE program fails to consider the standard output as a