aboutsummaryrefslogtreecommitdiffstats
path: root/tools/fuzz-test.sh
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2006-06-26 19:49:27 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2006-06-26 19:49:27 +0000
commitf993ebec54e93a90ffe1aff4d8f9ccba26151734 (patch)
tree184be17cc951a76d5241bf96148e9255466648b7 /tools/fuzz-test.sh
parent6f8dc1dcd89296526b545961b881f883c931ab99 (diff)
Use a more uniform name for the output files (which makes it easier to
write wrapper scripts). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18577 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools/fuzz-test.sh')
-rwxr-xr-xtools/fuzz-test.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh
index e3f927cb61..ab028ab3a9 100755
--- a/tools/fuzz-test.sh
+++ b/tools/fuzz-test.sh
@@ -16,12 +16,13 @@ CAPINFOS=./capinfos
# This needs to point to a 'date' that supports %s.
DATE=/bin/date
+BASE_NAME=fuzz-`$DATE +%Y-%m-%d`-$$
# Temporary file directory and names.
# (had problems with this on cygwin, tried TMP_DIR=./ which worked)
TMP_DIR=/tmp
-TMP_FILE=fuzz-test-`$DATE +%Y-%m-%d`-$$.pcap
-ERR_FILE=fuzz-err-`$DATE +%Y-%m-%d`-$$.txt
+TMP_FILE=$BASE_NAME.pcap
+ERR_FILE=$BASE_NAME.err
# Loop this many times (< 1 loops forever)
MAX_PASSES=0