tests: tweak few tests on simple and parallel test drivers
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 6 Feb 2011 18:43:22 +0000 (19:43 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 6 Feb 2011 18:43:22 +0000 (19:43 +0100)
* tests/check-exported-srcdir.test: Improve heading comments.
* tests/check-tests-in-builddir.test: Likewise.  Also, unset the
`FOO_EXIT_STATUS' variable, so that any pre-existing value in the
environment won't risk to interfere with the test.

Suggestions by Ralf Wildenhues.

ChangeLog
tests/check-exported-srcdir.test
tests/check-tests-in-builddir.test

index 31bdd66..3750915 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-02-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests: tweak few tests on simple and parallel test drivers
+       * tests/check-exported-srcdir.test: Improve heading comments.
+       * tests/check-tests-in-builddir.test: Likewise.  Also, unset the
+       `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
+       environment won't risk to interfere with the test.
+       Suggestions by Ralf Wildenhues.
+
 2011-02-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        coverage: more tests on simple and parallel test drivers
index 9209fc8..dc02b22 100755 (executable)
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Check that the "Simple Tests" driver (either with or without the
+# Check that the testsuite driver (either with or without the
 # parallel-tests option enabled) exports the `srcdir' value in the
 # environment of the tests.  This is documented in the manual.
 
index b30999b..2d0e423 100755 (executable)
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Check that the "Simple Tests" driver can find test in the srcdir as
+# Check that the testsuite driver can find test in the srcdir as
 # well as in builddir, and that is prefers those in the builddir.
 
 . ./defs || Exit 1
@@ -36,6 +36,8 @@ exit ${FOO_EXIT_STATUS-0}
 END
 chmod a+x foo.test
 
+unset FOO_EXIT_STATUS || :
+
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE -a