diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-04-18 16:10:08 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-04-18 16:10:08 +0000 |
commit | 17febadb12f3213aee2816c0b58cc0059767bcca (patch) | |
tree | 6f621b4b8b5c695e6c784b7d1db810dca0957781 /tools/randpkt-test.sh | |
parent | bb606959f7a98d11da61a6d13d92d1cd581052c1 (diff) |
Terminate our inner loops as well.
svn path=/trunk/; revision=42134
Diffstat (limited to 'tools/randpkt-test.sh')
-rwxr-xr-x | tools/randpkt-test.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/randpkt-test.sh b/tools/randpkt-test.sh index b55787a00b..176e53cd7d 100755 --- a/tools/randpkt-test.sh +++ b/tools/randpkt-test.sh @@ -89,6 +89,7 @@ while [ $PASS -lt $MAX_PASSES -o $MAX_PASSES -lt 1 ] ; do echo "Pass $PASS:" for PKT_TYPE in $PKT_TYPES ; do + if [ $PASS -gt $MAX_PASSES ] ; then break ; fi # We caught a signal echo -n " $PKT_TYPE: " DISSECTOR_BUG=0 |