diff options
author | Roy Marples <roy@marples.name> | 2008-04-07 09:37:14 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-04-07 09:37:14 +0000 |
commit | 594d98eddca016ef6f74f0a1d07ea4a8c70d193d (patch) | |
tree | 40070cc9502e977c4db15ea902bd9d42e76a5b80 /sh | |
parent | dcdfdb442f436cd1f1bdfdc46622f5d6f48f8061 (diff) |
Tests now work on NetBSD.
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} |