From: Stefano Lattarini Date: Fri, 21 Oct 2011 08:34:31 +0000 (+0200) Subject: tests: remove redundant settings of `errexit' shell flag X-Git-Tag: ng-0.5a~89^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75b82e61cd675689885efe312402033cd77b04b8;p=thirdparty%2Fautomake.git tests: remove redundant settings of `errexit' shell flag * tests/aclocal-path-install-serial.test: Do not set the `errexit' shell flag, as it is already set by `tests/defs'. * tests/aclocal-path-install.test: Likewise. * tests/aclocal-path-nonexistent.test: Likewise. * tests/aclocal-path-precedence.test: Likewise. * tests/aclocal-path.test: Likewise. * tests/dist-auxfile-2.test: Likewise. * tests/dist-auxfile.test: Likewise. * tests/distcheck-pr9579.test: Likewise. * tests/javadir-undefined.test: Likewise. * tests/subpkg-yacc.test: Likewise. * tests/test-extensions-cond.test: Likewise. * tests/test-extensions.test: Likewise. * tests/uninstall-fail.test: Likewise. * tests/uninstall-pr9578.test: Likewise. * tests/distcheck-override-infodir.test: Likewise. Also, fix typo in heading comments since we are at it. --- diff --git a/ChangeLog b/ChangeLog index 4b3c7118b..2971556b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,24 @@ +2011-10-21 Stefano Lattarini + + tests: remove redundant settings of `errexit' shell flag + * tests/aclocal-path-install-serial.test: Do not set the + `errexit' shell flag, as it is already set by `tests/defs'. + * tests/aclocal-path-install.test: Likewise. + * tests/aclocal-path-nonexistent.test: Likewise. + * tests/aclocal-path-precedence.test: Likewise. + * tests/aclocal-path.test: Likewise. + * tests/dist-auxfile-2.test: Likewise. + * tests/dist-auxfile.test: Likewise. + * tests/distcheck-pr9579.test: Likewise. + * tests/javadir-undefined.test: Likewise. + * tests/subpkg-yacc.test: Likewise. + * tests/test-extensions-cond.test: Likewise. + * tests/test-extensions.test: Likewise. + * tests/uninstall-fail.test: Likewise. + * tests/uninstall-pr9578.test: Likewise. + * tests/distcheck-override-infodir.test: Likewise. Also, + fix typo in heading comments since we are at it. + 2011-10-20 Stefano Lattarini fixup: add forgotten test scripts to $(TESTS) diff --git a/tests/aclocal-path-install-serial.test b/tests/aclocal-path-install-serial.test index 511ccee31..ca0117489 100755 --- a/tests/aclocal-path-install-serial.test +++ b/tests/aclocal-path-install-serial.test @@ -20,8 +20,6 @@ am_create_testdir=empty . ./defs || Exit 1 -set -e - cat > configure.in << 'END' AC_INIT AM_FOO diff --git a/tests/aclocal-path-install.test b/tests/aclocal-path-install.test index 5e46eb632..a07d5ab52 100755 --- a/tests/aclocal-path-install.test +++ b/tests/aclocal-path-install.test @@ -19,8 +19,6 @@ am_create_testdir=empty . ./defs || Exit 1 -set -e - cat > configure.in << 'END' AC_INIT AM_FOO diff --git a/tests/aclocal-path-nonexistent.test b/tests/aclocal-path-nonexistent.test index e1157a1bc..0be9938d3 100755 --- a/tests/aclocal-path-nonexistent.test +++ b/tests/aclocal-path-nonexistent.test @@ -19,8 +19,6 @@ am_create_testdir=empty . ./defs || Exit 1 -set -e - cat > configure.in << 'END' AC_INIT AM_FOO diff --git a/tests/aclocal-path-precedence.test b/tests/aclocal-path-precedence.test index 6012f874f..a9c864b46 100755 --- a/tests/aclocal-path-precedence.test +++ b/tests/aclocal-path-precedence.test @@ -19,8 +19,6 @@ am_create_testdir=empty . ./defs || Exit 1 -set -e - cat > configure.in << 'END' AC_INIT([foo], [1.0]) AM_INIT_AUTOMAKE([parallel-tests]) diff --git a/tests/aclocal-path.test b/tests/aclocal-path.test index 16fd3f982..42c682014 100755 --- a/tests/aclocal-path.test +++ b/tests/aclocal-path.test @@ -19,8 +19,6 @@ am_create_testdir=empty . ./defs || Exit 1 -set -e - cat > configure.in << 'END' AC_INIT AM_FOO_MACRO diff --git a/tests/dist-auxfile-2.test b/tests/dist-auxfile-2.test index 08daa6caa..77e6ffb31 100755 --- a/tests/dist-auxfile-2.test +++ b/tests/dist-auxfile-2.test @@ -22,8 +22,6 @@ am_create_testdir=empty . ./defs || Exit 1 -set -e - cat > configure.in <. # Check that we can override ${infodir} while having distcheck still -# working. Relate to automake bug#9579. +# working. Related to automake bug#9579. required='makeinfo tex texi2dvi' . ./defs || Exit 1 -set -e - cat >> configure.in << 'END' AC_OUTPUT END diff --git a/tests/distcheck-pr9579.test b/tests/distcheck-pr9579.test index 667401daa..341a6801b 100755 --- a/tests/distcheck-pr9579.test +++ b/tests/distcheck-pr9579.test @@ -19,8 +19,6 @@ . ./defs || Exit 1 -set -e - cat >> configure.in << 'END' AC_OUTPUT END diff --git a/tests/javadir-undefined.test b/tests/javadir-undefined.test index 9b6d1f324..548865dd8 100755 --- a/tests/javadir-undefined.test +++ b/tests/javadir-undefined.test @@ -22,8 +22,6 @@ . ./defs || Exit 1 -set -e - $ACLOCAL echo java_JAVA = a.java > Makefile.am diff --git a/tests/subpkg-yacc.test b/tests/subpkg-yacc.test index ee8af66f3..a9d19e9be 100755 --- a/tests/subpkg-yacc.test +++ b/tests/subpkg-yacc.test @@ -21,8 +21,6 @@ required='cc yacc' . ./defs || Exit 1 -set -e - cat >>configure.in <<'END' AC_PROG_CC AC_CONFIG_SUBDIRS([lib]) diff --git a/tests/test-extensions-cond.test b/tests/test-extensions-cond.test index 41a5b2502..0f9708c22 100755 --- a/tests/test-extensions-cond.test +++ b/tests/test-extensions-cond.test @@ -19,8 +19,6 @@ am_parallel_tests=yes . ./defs || Exit 1 -set -e - cat >> configure.in << 'END' AM_CONDITIONAL([COND], [:]) AM_CONDITIONAL([COND2], [:]) diff --git a/tests/test-extensions.test b/tests/test-extensions.test index 5c8107d73..e9b7e0206 100755 --- a/tests/test-extensions.test +++ b/tests/test-extensions.test @@ -21,8 +21,6 @@ am_parallel_tests=yes . ./defs || Exit 1 -set -e - cat >> configure.in <<'END' AC_OUTPUT END diff --git a/tests/uninstall-fail.test b/tests/uninstall-fail.test index 14a843b2f..f87a20f20 100755 --- a/tests/uninstall-fail.test +++ b/tests/uninstall-fail.test @@ -22,8 +22,6 @@ . ./defs || Exit 1 -set -e - mkdir d : > d/f chmod a-w d || skip "cannot make directories unwritable" diff --git a/tests/uninstall-pr9578.test b/tests/uninstall-pr9578.test index 9aea52d03..f9122ceb8 100755 --- a/tests/uninstall-pr9578.test +++ b/tests/uninstall-pr9578.test @@ -24,8 +24,6 @@ . ./defs || Exit 1 -set -e - cat >> configure.in << 'END' AC_OUTPUT END