* 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.
From c2711ecf6dd5c82f9d9819f5da8427caf8ad1d0e Mon Sep 17 00:00:00 2001 From: Stefano Lattarini <stefano.lattar...@gmail.com> Date: Fri, 9 Apr 2010 16:58:27 +0200 Subject: [PATCH 2/2] 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. --- ChangeLog | 5 +++++ tests/confh5.test | 4 +++- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 27da4aa..d91fe60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-04-09 Stefano Lattarini <stefano.lattar...@gmail.com> + 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. + Avoid possible false negatives in confh5.test. * tests/confh5.test: Enable shell `errexit' flag, and bumped copyright years. Due to this change, any unexpected failure diff --git a/tests/confh5.test b/tests/confh5.test index c81f3a3..ed60e0c 100755 --- a/tests/confh5.test +++ b/tests/confh5.test @@ -32,7 +32,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 -- 1.6.5