From: Stefano Lattarini Date: Sun, 11 Apr 2010 17:53:35 +0000 (+0200) Subject: Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh. X-Git-Tag: v1.11.1b~87^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41431556eb2580d22181a43006146958f765bc2b;p=thirdparty%2Fautomake.git Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh. * tests/confh5.test: In the generated Makefile.am: do not use `test ! -e FILE' to check for the non-existence of a file, since that is not supported by Solarish/Heirloom Sh. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 2ac169893..cab8ce45a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-04-11 Stefano Lattarini + Avoid possible false negatives in cond46.test. + * tests/cond46.test: Enable shell `errexit' flag (and bumped + copyright years). Due to this change, the testcase should now + fail on unexpected failures in calls to $ACLOCAL/$AUTOMAKE (whose + outcomes were previously unchecked), and on failures in grepping + the expected diagnostic in Automake stderr. + Make test `aclocal3.test' stricter. * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL succeds unexpectedly. diff --git a/tests/confh5.test b/tests/confh5.test index 15593c856..52a3054e2 100755 --- a/tests/confh5.test +++ b/tests/confh5.test @@ -30,7 +30,9 @@ cat > Makefile.am << 'END' test: distdir test -f $(distdir)/config.h.in test -f $(distdir)/include/config.h.in.in - test ! -e $(distdir)/include/config.h.in + : # Solarish Sh do not support 'test -e' + test ! -f $(distdir)/include/config.h.in + test ! -r $(distdir)/include/config.h.in END mkdir include