aboutsummaryrefslogtreecommitdiffstats
path: root/tools/fuzz-test.sh
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2005-04-24 00:37:08 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2005-04-24 00:37:08 +0000
commitc58f94d780e5d085a75b950587de2fb7a3e18514 (patch)
treea8a423f0a070d27b32c4c62696494796bbb38951 /tools/fuzz-test.sh
parent1e7dc8f48e7d8232a89e10fdca852b2415c4b2a9 (diff)
Fix a quoting bug.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14177 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools/fuzz-test.sh')
-rwxr-xr-xtools/fuzz-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh
index f60e652bd1..ee5211e2fe 100755
--- a/tools/fuzz-test.sh
+++ b/tools/fuzz-test.sh
@@ -32,7 +32,7 @@ ulimit -S -t $MAX_CPU_TIME -v $MAX_VMEM
# 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
@@ -57,7 +57,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