aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2021-05-07 14:21:09 -0700
committerGerald Combs <gerald@wireshark.org>2021-05-07 14:21:09 -0700
commit4266e1e9baa2ecce49eaaa20a5beecb39d21a0af (patch)
tree9bda8437877b6166b8b2fc3d8fe9f755cd7d5a1b /tools
parent7c6df3848f9cb46ede76c43d756a4e8ad9872f97 (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.
Diffstat (limited to 'tools')
-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 cc70f2c39e..615dd73274 100755
--- a/tools/fuzz-test.sh
+++ b/tools/fuzz-test.sh
@@ -182,7 +182,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=$?