From add84381e117438d38de2b9bd6d6173f21e5c77e Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 2 Aug 2010 22:01:13 +0200 Subject: [PATCH] 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. Signed-off-by: Ralf Wildenhues --- ChangeLog | 4 ++++ tests/autotest.at | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9dbd2cc1..f7f0bed1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-08-02 Ralf Wildenhues + 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) : Update description. diff --git a/tests/autotest.at b/tests/autotest.at index c03c126d..75915a88 100644 --- a/tests/autotest.at +++ b/tests/autotest.at @@ -1512,6 +1512,28 @@ AT_CHECK([test -s sigpipe-stamp || test ! -f micro-suite.dir/7/micro-suite.log], 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([:]) -- 2.47.2