aboutsummaryrefslogtreecommitdiffstats
path: root/tools/fuzz-test.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2006-06-26 19:49:27 +0000
committerGerald Combs <gerald@wireshark.org>2006-06-26 19:49:27 +0000
commit49a7d578c85a40a3d8c07d763b99ceb574b1a680 (patch)
tree184be17cc951a76d5241bf96148e9255466648b7 /tools/fuzz-test.sh
parent45b5d2041680c909394d7e1dfe181594751167e9 (diff)
Use a more uniform name for the output files (which makes it easier to
write wrapper scripts). svn path=/trunk/; revision=18577
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