From ce3969a5cebd73ca92fb2d85248c21f74e176037 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Wed, 10 May 2006 20:58:16 +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 fa126d42..0e1664e3 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 05678ee7..b389743b 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 e9f53635..904044ee 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.43.5