From: Stefano Lattarini Date: Sat, 12 Nov 2011 21:24:36 +0000 (+0100) Subject: maintcheck: fix spurious failure in 'color2.test' X-Git-Tag: v1.11.1b~9^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=75ae56f04be065936501f579ad1aa999f5b19b3b;p=thirdparty%2Fautomake.git 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. --- diff --git a/ChangeLog b/ChangeLog index 89348139e..3cccebc90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-11-12 Stefano Lattarini + + 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 tests: fix spurious error in 'uninstall-fail.test' on Solaris diff --git a/tests/color2.test b/tests/color2.test index 2217d8866..bc9731316 100755 --- a/tests/color2.test +++ b/tests/color2.test @@ -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