aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-08 06:40:17 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-08 06:40:17 +0000
commitfe51d1857b98bedd152691672e12bdec0e07632c (patch)
treee84bb4f83b47274bd0de5cafd03fb308b1ca7092 /tools
parente4a84bf9f3ced1a9fbe7efed30e2377c0cc33797 (diff)
fix a problem if the tools have a space char in their path
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14588 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools')
-rwxr-xr-xtools/fuzz-test.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh
index c0a88d15fa..14d5291068 100755
--- a/tools/fuzz-test.sh
+++ b/tools/fuzz-test.sh
@@ -45,7 +45,7 @@ TETHEREAL_ARGS="-nVxr"
# Make sure we have a valid test set
FOUND=0
for CF in "$@" ; do
- $CAPINFOS "$CF" > /dev/null 2>&1 && FOUND=1
+ "$CAPINFOS" "$CF" > /dev/null 2>&1 && FOUND=1
if [ $FOUND -eq 1 ] ; then break ; fi
done
@@ -70,7 +70,7 @@ while [ 1 ] ; do
for CF in "$@" ; do
echo -n " $CF: "
- $CAPINFOS "$CF" > /dev/null 2>&1
+ "$CAPINFOS" "$CF" > /dev/null 2>&1
if [ $? -ne 0 ] ; then
echo "Not a valid capture file"
continue
@@ -78,16 +78,16 @@ while [ 1 ] ; do
DISSECTOR_BUG=0
- $EDITCAP -E $ERR_PROB "$CF" $TMP_DIR/editcap.out > /dev/null 2>&1
+ "$EDITCAP" -E $ERR_PROB "$CF" $TMP_DIR/editcap.out > /dev/null 2>&1
if [ $? -ne 0 ] ; then
- $EDITCAP -E $ERR_PROB -T ether "$CF" $TMP_DIR/editcap.out > /dev/null 2>&1
+ "$EDITCAP" -E $ERR_PROB -T ether "$CF" $TMP_DIR/editcap.out > /dev/null 2>&1
if [ $? -ne 0 ] ; then
echo "Invalid format for editcap"
continue
fi
fi
- $TETHEREAL $TETHEREAL_ARGS $TMP_DIR/editcap.out \
+ "$TETHEREAL" $TETHEREAL_ARGS $TMP_DIR/editcap.out \
> /dev/null 2> $TMP_DIR/stderr.out
RETVAL=$?
grep -i "dissector bug" $TMP_DIR/stderr.out \