From bb8bcc3c9965e9315f69577c35ecb8c0ffc0b6bf Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Wed, 10 May 2006 20:58:17 +0000 Subject: [PATCH] * tests/java.test: `configure' uses a trap, so use `(exit 77); exit 77' to portably set the exit status similar to AS_EXIT. * tests/fn99.test: propagate nonzero exit status from subshell. --- ChangeLog | 4 ++++ tests/fn99.test | 4 ++-- tests/java.test | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index fa126d42b..0e1664e3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-05-10 Ralf Wildenhues + * tests/java.test: `configure' uses a trap, so use `(exit 77); + exit 77' to portably set the exit status similar to AS_EXIT. + * tests/fn99.test: propagate nonzero exit status from subshell. + * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused if ``pwd`' contains the string `-p'. Create the wrapper in a subdirectory so that `.' in $PATH does not lead to an endless diff --git a/tests/fn99.test b/tests/fn99.test index 05678ee7a..b389743ba 100755 --- a/tests/fn99.test +++ b/tests/fn99.test @@ -36,7 +36,7 @@ do mkdir -p 12345678 || exit 77 cd 12345678 touch x -done) +done) || exit 77 $ACLOCAL $AUTOCONF @@ -49,7 +49,7 @@ do mkdir -p 12345678 || exit 77 cd 12345678 touch x -done) +done) || exit 77 $MAKE dist 2>stderr && exit 1 cat stderr diff --git a/tests/java.test b/tests/java.test index e9f53635a..904044ee5 100755 --- a/tests/java.test +++ b/tests/java.test @@ -26,7 +26,7 @@ set -e cat >>configure.in <<'EOF' AC_CHECK_PROG([HAS_JAVAC], [javac], [:], [exit]) -$HAS_JAVAC 77 +($HAS_JAVAC 77); $HAS_JAVAC 77 AC_OUTPUT EOF -- 2.47.2