changeset 13414:e1905a9a836a

init.sh: change framework_failure_ to fail with status 99, not 1 * tests/init.sh (framework_failure_): Exit 99, not 1. This informs automake's parallel-tests rule that this is an unexpected failure, even if the test is listed in XFAIL_TESTS.
author Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
date Fri, 11 Jun 2010 19:03:33 +0200
parents 3fd42e89759e
children a884db63982b
files ChangeLog tests/init.sh
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-06-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	init.sh: change framework_failure_ to fail with status 99, not 1
+	* tests/init.sh (framework_failure_): Exit 99, not 1.  This informs
+	automake's parallel-tests rule that this is an unexpected failure,
+	even if the test is listed in XFAIL_TESTS.
+
 2010-06-11  Jim Meyering  <meyering@redhat.com>
 
 	test-inttostr: avoid warnings about 4-6KB literal strings
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -77,7 +77,7 @@
 warn_() { echo "$@" 1>&$stderr_fileno_; }
 fail_() { warn_ "$ME_: failed test: $@"; Exit 1; }
 skip_() { warn_ "$ME_: skipped test: $@"; Exit 77; }
-framework_failure_() { warn_ "$ME_: set-up failure: $@"; Exit 1; }
+framework_failure_() { warn_ "$ME_: set-up failure: $@"; Exit 99; }
 
 # We require $(...) support unconditionally.
 # We require a few additional shell features only when $EXEEXT is nonempty,