Exit normally when we trap a signal so that things like Buildbot don't
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 5 Feb 2010 21:35:59 +0000 (21:35 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 5 Feb 2010 21:35:59 +0000 (21:35 +0000)
generate unnecessary errors when we cancel a fuzz test.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31803 f5534014-38df-0310-8fa8-9805f1628bb7

tools/fuzz-test.sh

index ac0f1b0288bf10b059ec71b093c6ac345819ca23..1e5db618454311f7530d6fc428b593e973f34e82 100755 (executable)
@@ -115,7 +115,7 @@ echo "Running $TSHARK with args: $TSHARK_ARGS ($HOWMANY)"
 echo ""
 
 # Clean up on <ctrl>C, etc
-trap "rm -f $TMP_DIR/$TMP_FILE $TMP_DIR/$ERR_FILE; echo ""; exit 1" HUP INT TERM
+trap "rm -f $TMP_DIR/$TMP_FILE $TMP_DIR/$ERR_FILE; echo ""; exit 0" HUP INT TERM
 
 # Iterate over our capture files.
 PASS=0