From 4509929f2a5d036bb1016c184264a41edcf415c7 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Thu, 30 May 2013 00:35:46 +0000 Subject: Exit if we can't load the test-common.sh library. svn path=/trunk/; revision=49625 --- tools/fuzz-test.sh | 2 +- tools/randpkt-test.sh | 2 +- tools/test-captures.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh index fc0fbbdeb8..7610963b92 100755 --- a/tools/fuzz-test.sh +++ b/tools/fuzz-test.sh @@ -10,7 +10,7 @@ # repeatedly until an error is found. TEST_TYPE="fuzz" -. `dirname $0`/test-common.sh +. `dirname $0`/test-common.sh || exit 1 # Directory containing binaries. Default current directory. BIN_DIR=. diff --git a/tools/randpkt-test.sh b/tools/randpkt-test.sh index d0aceea98f..14a2199fdb 100755 --- a/tools/randpkt-test.sh +++ b/tools/randpkt-test.sh @@ -9,7 +9,7 @@ # The files are processed repeatedly until an error is found. TEST_TYPE="randpkt" -. `dirname $0`/test-common.sh +. `dirname $0`/test-common.sh || exit 1 # Trigger an abort if a dissector finds a bug. # Uncomment to disable diff --git a/tools/test-captures.sh b/tools/test-captures.sh index fac4347545..e652c28c5e 100755 --- a/tools/test-captures.sh +++ b/tools/test-captures.sh @@ -36,7 +36,7 @@ then fi TEST_TYPE="manual" -. `dirname $0`/test-common.sh +. `dirname $0`/test-common.sh || exit 1 # set some limits to the child processes, e.g. stop it if it's running longer then MAX_CPU_TIME seconds # (ulimit is not supported well on cygwin and probably other platforms, e.g. cygwin shows some warnings) -- cgit v1.2.1