aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2021-05-07 14:21:09 -0700
committerGerald Combs <gerald@wireshark.org>2021-05-27 21:55:04 +0000
commite6eb1d737038425ad06691a964a2d3e1bd7b7612 (patch)
treea34e72589fc7cc500b8de7abae52020e1a1c4bc0
parent0d8be1fb797b3d65f1c2c204da76af8e8de6d3cc (diff)
Tools: Show only filenames when fuzzing.
Show only the basename of each capture file when fuzzing, which is less noisy than the full pathname. (cherry picked from commit 4266e1e9baa2ecce49eaaa20a5beecb39d21a0af)
-rwxr-xr-xtools/fuzz-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh
index 4c39f7506f..3a4fd3ddab 100755
--- a/tools/fuzz-test.sh
+++ b/tools/fuzz-test.sh
@@ -183,7 +183,7 @@ while { [ $PASS -lt "$MAX_PASSES" ] || [ "$MAX_PASSES" -lt 1 ]; } && ! $DONE ; d
if [ "$OSTYPE" == "cygwin" ] ; then
CF=$( cygpath --windows "$CF" )
fi
- echo -n " $CF: "
+ printf " %s: " "$( basename "$CF" )"
"$CAPINFOS" "$CF" > /dev/null 2> "$TMP_DIR/$ERR_FILE"
RETVAL=$?