aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/randpkt-test.sh3
-rw-r--r--tools/test-common.sh2
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