From 75ae56f04be065936501f579ad1aa999f5b19b3b Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sat, 12 Nov 2011 22:24:36 +0100 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ tests/color2.test | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- 2.47.2