* tests/autotest.at (parallel args but non-working mkfifo):
New test, to expose the failure
v2.66-23-g991183c avoided.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2010-08-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ Add testsuite exposure for last-minute fix in 2.67.
+ * tests/autotest.at (parallel args but non-working mkfifo):
+ New test, to expose the failure v2.66-23-g991183c avoided.
+
Ensure unnamed test group categories are separated from previous.
* doc/autoconf.texi (Writing Testsuites) <AT_BANNER>: Update
description.
AT_CLEANUP
+# Avoid running into a regression when mkfifo does not work.
+AT_CHECK_AT_TEST([parallel args but non-working mkfifo],
+[AT_CHECK([:])
+AT_CLEANUP
+AT_SETUP([second test])
+AT_CHECK([:])
+],
+[], [], [stdout], [stderr],
+[AT_SKIP_PARALLEL_TESTS
+mkdir bin
+cat >bin/mkfifo <<\EOF
+#! /bin/sh
+exit 1
+EOF
+chmod +x bin/mkfifo
+PATH=`pwd`/bin:$PATH
+export PATH
+],
+[AT_CHECK([grep 'second test' stdout], [], [ignore])
+], [--jobs])
+
+
# --color
AT_CHECK_AT_TEST([colored test results],
[AT_CHECK([:])