diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-07-08 19:49:17 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-07-08 19:49:17 +0000 |
commit | 2a62d8e8e6cd59419a7fcb6c4d49bb6a1e1a4591 (patch) | |
tree | 699445b309a9b8a0a454d7fe9e06a9b347793407 /tools | |
parent | 3db06ae582d0433c1c2b31b12d0feb894bbf8f7b (diff) | |
download | wireshark-2a62d8e8e6cd59419a7fcb6c4d49bb6a1e1a4591.tar.gz |
Include the output (fuzz'd) file name in the output when fuzz (or randpkt)
testing fails.
Useful for when you want to use up a few spare CPU cores running multiple
simultaneous fuzz tests...
svn path=/trunk/; revision=50449
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/randpkt-test.sh | 3 | ||||
-rw-r--r-- | tools/test-common.sh | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tools/randpkt-test.sh b/tools/randpkt-test.sh index 14a2199fdb..0eceaa7e40 100755 --- a/tools/randpkt-test.sh +++ b/tools/randpkt-test.sh @@ -98,9 +98,6 @@ while [ $PASS -lt $MAX_PASSES -o $MAX_PASSES -lt 1 ] ; do > /dev/null 2>&1 && DISSECTOR_BUG=1 if [ $RETVAL -ne 0 -o $DISSECTOR_BUG -ne 0 ] ; then - RAND_FILE="randpkt-`$DATE +%Y-%m-%d`-$$.pcap" - mv $TMP_DIR/$TMP_FILE $TMP_DIR/$RAND_FILE - echo " Output file: $TMP_DIR/$RAND_FILE" exit_error fi diff --git a/tools/test-common.sh b/tools/test-common.sh index de72b33d88..48771ec9b0 100644 --- a/tools/test-common.sh +++ b/tools/test-common.sh @@ -98,6 +98,8 @@ function exit_error() { echo -e "\n ERROR" echo -e "Processing failed. Capture info follows:\n" echo " Input file: $CF" + echo " Output file: $TMP_DIR/$TMP_FILE" + echo # Fill in build information echo -e "Input file: $CF\n" > $TMP_DIR/${ERR_FILE}.header |