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 | 11 +++++++++++ tests/self-check-exit.test | 1 + 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 35c98a1..6d8f4b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 2011-06-02 Stefano Lattarini <stefano.lattar...@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.lattar...@gmail.com> + tests: use `$SHELL' to run the shell scripts from `lib/' This should offer greater testsuite coverage for those developers that override CONFIG_SHELL at configure time in order to test more diff --git a/tests/self-check-exit.test b/tests/self-check-exit.test index f8c5334..04c27fd 100755 --- a/tests/self-check-exit.test +++ b/tests/self-check-exit.test @@ -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 -- 1.7.2.3