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/fuzz-test.sh | |
parent | bb606959f7a98d11da61a6d13d92d1cd581052c1 (diff) |
Terminate our inner loops as well.
svn path=/trunk/; revision=42134
Diffstat (limited to 'tools/fuzz-test.sh')
-rwxr-xr-x | tools/fuzz-test.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh index f6d9290d91..06e37aa68d 100755 --- a/tools/fuzz-test.sh +++ b/tools/fuzz-test.sh @@ -185,6 +185,7 @@ while [ $PASS -lt $MAX_PASSES -o $MAX_PASSES -lt 1 ] ; do RUN=0 for CF in "$@" ; do + if [ $PASS -gt $MAX_PASSES ] ; then break ; fi # We caught a signal RUN=$(( $RUN + 1 )) if [ $(( $RUN % 50 )) -eq 0 ] ; then echo " [Pass $PASS]" |