summaryrefslogtreecommitdiffstats
path: root/tools/randpkt-test.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:15:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:15:52 +0000
commit864dec30a3971aa043dd47f99168c889a5107102 (patch)
treedd322ea42bd05d24614f2f22afc75bc49cbb0b34 /tools/randpkt-test.sh
parentAdding upstream version 4.2.5. (diff)
downloadwireshark-864dec30a3971aa043dd47f99168c889a5107102.tar.xz
wireshark-864dec30a3971aa043dd47f99168c889a5107102.zip
Adding upstream version 4.2.6.upstream/4.2.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/randpkt-test.sh')
-rwxr-xr-xtools/randpkt-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/randpkt-test.sh b/tools/randpkt-test.sh
index b47646dd..a49e3002 100755
--- a/tools/randpkt-test.sh
+++ b/tools/randpkt-test.sh
@@ -162,7 +162,7 @@ while [ $PASS -lt "$MAX_PASSES" ] || [ "$MAX_PASSES" -lt 1 ] ; do
grep -i "dissector bug" "$TMP_DIR/$ERR_FILE" \
> /dev/null 2>&1 && DISSECTOR_BUG=1
- if [ $RETVAL -ne 0 ] || [ $DISSECTOR_BUG -ne 0 ] || [ $VG_ERR_CNT -ne 0 ] ; then
+ if [ "$RETVAL" -ne 0 ] || [ $DISSECTOR_BUG -ne 0 ] || [ "$VG_ERR_CNT" -ne 0 ] ; then
ws_exit_error
fi
echo " OK"