diff options
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/runtests.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sh/runtests.sh b/sh/runtests.sh index d0d6a17d..110266b3 100755 --- a/sh/runtests.sh +++ b/sh/runtests.sh @@ -9,17 +9,17 @@ tret=0 ebegin "Testing yesno()" for f in yes YES Yes true TRUE True 1 ; do if ! yesno ${f} ; then - ((tret+=1)) + tret=$((${tret} + 1)) echo "!${f}!" fi done for f in no NO No false FALSE False 0 ; do if yesno ${f} ; then - ((tret+=1)) + tret=$(({$tret} + 1)) echo "!${f}!" fi done eend ${tret} -((ret+=tret)) +ret=$((${ret} + ${tret})) exit ${ret} |