init.sh: change framework_failure_ to fail with status 99, not 1
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 11 Jun 2010 17:03:33 +0000 (19:03 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 11 Jun 2010 17:03:33 +0000 (19:03 +0200)
* 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.

ChangeLog
tests/init.sh

index 6a366ed..84f2eff 100644 (file)
--- 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
index 286bbf1..7943526 100644 (file)
@@ -77,7 +77,7 @@ Exit () { set +e; (exit $1); exit $1; }
 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,