summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-06-11 19:03:33 +0200
committerJim Meyering <meyering@redhat.com>2010-06-11 19:03:33 +0200
commite69a17d02ee0bc09acf4498515fd6934160c9923 (patch)
tree89dd2adf1056b5ee2437efa20f4fe38b0c73d5c4 /tests
parent7178c963d36832db334a64ae7046fc43d037b879 (diff)
downloadgnulib-e69a17d02ee0bc09acf4498515fd6934160c9923.tar.gz
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/init.sh b/tests/init.sh
index 286bbf191c..794352673f 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -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,