]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
self tests: fix another spurious failure
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 2 Jun 2011 15:54:25 +0000 (17:54 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 2 Jun 2011 15:54:25 +0000 (17:54 +0200)
Our ad-hoc usage of `tests/defs' in the testsuite's self tests
stopped working properly when we made the test scripts re-execute
themselves with the configure-time $SHELL.  Fix this.

Fixes a regression introduced by commit 'v1.11-874-g1321be7'.

* tests/self-check-exit.test: Export `AM_TESTS_REEXEC' to "no"
before running the self tests.  This fixes a spurious failure
present only when the test was run by hand.

ChangeLog
tests/self-check-exit.test

index 35c98a144e61650661ae13eef087fd1980f5e72e..6d8f4b8efcbfdcbd0b0e48202917903557797fe3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2011-06-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       self tests: fix another spurious failure
+       Our ad-hoc usage of `tests/defs' in the testsuite's self tests
+       stopped working properly when we made the test scripts re-execute
+       themselves with the configure-time $SHELL.  Fix this.
+       Fixes a regression introduced by commit 'v1.11-874-g1321be7'.
+       * tests/self-check-exit.test: Export `AM_TESTS_REEXEC' to "no"
+       before running the self tests.  This fixes a spurious failure
+       present only when the test was run by hand.
+
 2011-06-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        tests: use `$SHELL' to run the shell scripts from `lib/'
index f8c533401d9cdde326239b0e0b83f40a4388d3a6..04c27fd0f61a919887e06419ce0a7943b8dcc996 100755 (executable)
@@ -22,6 +22,7 @@
 . ./defs-static || exit 99
 
 unset am_explicit_skips
+AM_TESTS_REEXEC=no; export AM_TESTS_REEXEC
 
 for st in 1 2 3 4 5 77 99 126 127 128 129 130 255; do