diff options
author | Evan Huus <eapache@gmail.com> | 2012-08-19 13:38:53 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2012-08-19 13:38:53 +0000 |
commit | f385acc4611e9dce8f47287caf54ce644c4a2c53 (patch) | |
tree | ccf0eca1ba1c63fadb79a308cd8e57337360032c /tools/fuzz-test.sh | |
parent | 85c17764299237235bea8d1d1eddac813a73993c (diff) |
From Toralf Förster via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7652
Use a fast bash built-in rather than a slow call out to `expr` to increment
the loop count.
svn path=/trunk/; revision=44580
Diffstat (limited to 'tools/fuzz-test.sh')
-rwxr-xr-x | tools/fuzz-test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh index 8bf888c958..d890080340 100755 --- a/tools/fuzz-test.sh +++ b/tools/fuzz-test.sh @@ -213,7 +213,7 @@ function exit_error() { # Iterate over our capture files. PASS=0 while [ \( $PASS -lt $MAX_PASSES -o $MAX_PASSES -lt 1 \) -a $DONE -ne 1 ] ; do - PASS=`expr $PASS + 1` + let PASS=$PASS+1 echo "Starting pass $PASS:" RUN=0 |