From bb606959f7a98d11da61a6d13d92d1cd581052c1 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 18 Apr 2012 16:04:05 +0000 Subject: Tell the main loop to terminate when we catch a signal instead of trying to clean up in two places. svn path=/trunk/; revision=42133 --- tools/fuzz-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/fuzz-test.sh') diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh index 1f9510caf5..f6d9290d91 100755 --- a/tools/fuzz-test.sh +++ b/tools/fuzz-test.sh @@ -137,7 +137,7 @@ echo "Running $TSHARK with args: $TSHARK_ARGS ($HOWMANY)" echo "" # Clean up on C, etc -trap "rm -f $TMP_DIR/$TMP_FILE $TMP_DIR/$ERR_FILE; echo ""; exit 0" HUP INT TERM +trap "MAX_PASSES=1; echo 'Caught signal'" HUP INT TERM ############################################################################## -- cgit v1.2.3