From e587522bf9133ad94d6481169581982e24916d62 Mon Sep 17 00:00:00 2001 From: Robert McQueen Date: Mon, 22 Sep 2008 21:25:03 +0100 Subject: [PATCH] make run-test.sh fail when die is called Missing die() function meant this wasn't returning non-zero even when tests were failing. Oops. --- test/core/run-test.sh | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/test/core/run-test.sh b/test/core/run-test.sh index 04869c5..5d9d642 100755 --- a/test/core/run-test.sh +++ b/test/core/run-test.sh @@ -3,6 +3,12 @@ SCRIPTNAME=$0 MODE=$1 +die() +{ + echo $@ 1>&2 + exit 1 +} + ## so the tests can complain if you fail to use the script to launch them DBUS_TEST_GLIB_RUN_TEST_SCRIPT=1 export DBUS_TEST_GLIB_RUN_TEST_SCRIPT -- 1.5.4.4