From 17febadb12f3213aee2816c0b58cc0059767bcca Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 18 Apr 2012 16:10:08 +0000 Subject: Terminate our inner loops as well. svn path=/trunk/; revision=42134 --- tools/fuzz-test.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/fuzz-test.sh') 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]" -- cgit v1.2.3