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 35c98a1..6d8f4b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 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/'
        This should offer greater testsuite coverage for those developers
        that override CONFIG_SHELL at configure time in order to test more
index f8c5334..04c27fd 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