Mike Duigou:

I noticed that when you run fuzz testing from both a root account and
a user account you can run into problems because the user account tries
to use and delete temp files created by the root account and fails. This
patch uses the same scheme as used for fuzz error files for naming the
tampered file and for the error file to prevent filename/permission
collisions between temp files from different runs.


svn path=/trunk/; revision=17145
This commit is contained in:
Jörg Mayer 2006-02-03 09:29:54 +00:00
parent e9b933473e
commit a5c03f490e
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ DATE=/bin/date
# Temporary file directory and names.
# (had problems with this on cygwin, tried TMP_DIR=./ which worked)
TMP_DIR=/tmp
TMP_FILE=fuzz-test.pcap
ERR_FILE=fuzz-err.txt
TMP_FILE=fuzz-test-`$DATE +%Y-%m-%d`-$$.pcap
ERR_FILE=fuzz-err-`$DATE +%Y-%m-%d`-$$.txt
# These may be set to your liking
# Stop the child process, if it's running longer than x seconds