]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 11 Apr 2010 17:53:35 +0000 (19:53 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 11 Apr 2010 17:53:49 +0000 (19:53 +0200)
* 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 <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/confh5.test

index 2ac169893906828f17535597202fb2655c031e9b..cab8ce45a5071d41c5e05ce7b92d410fb9d06cab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
+       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.
index 15593c856df1f88ceb51635b5a4df259fcc970c2..52a3054e26244f88dc9dac05c3b529558974d468 100755 (executable)
@@ -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