diff options
-rw-r--r-- | scripts/runtest.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runtest.sh b/scripts/runtest.sh index f0450bd9..3a5b09c6 100644 --- a/scripts/runtest.sh +++ b/scripts/runtest.sh @@ -125,7 +125,7 @@ testing() DIFF="$(diff -au${NOSPACE:+b} expected actual)" if [ ! -z "$DIFF" ] then - FAILCOUNT=$[$FAILCOUNT+1] + FAILCOUNT=$(($FAILCOUNT+1)) printf "%s\n" "$SHOWFAIL: $NAME" if [ -n "$VERBOSE" ] then |