* tests/color2.test: Avoid creative quoting to avoid a spurious failure of the `sc_tests_Exit_not_exit' maintainer check. --- ChangeLog | 6 ++++++ tests/color2.test | 3 ++- 2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 8934813..3cccebc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-11-12 Stefano Lattarini <stefano.lattar...@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.lattar...@gmail.com> + tests: fix spurious error in 'uninstall-fail.test' on Solaris * tests/uninstall-fail.test: Solaris 10 /usr/xpg4/bin/sh can add a line number before the `:' in the error messages issued by shell diff --git a/tests/color2.test b/tests/color2.test index 2217d88..bc97313 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 -- 1.7.2.3