From 594d98eddca016ef6f74f0a1d07ea4a8c70d193d Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 7 Apr 2008 09:37:14 +0000 Subject: Tests now work on NetBSD. --- sh/runtests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sh') 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} -- cgit v1.2.3