summaryrefslogtreecommitdiff
path: root/testsuite/md5sum.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/md5sum.tests')
-rwxr-xr-xtestsuite/md5sum.tests6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/md5sum.tests b/testsuite/md5sum.tests
index 1068b08..6c75b6d 100755
--- a/testsuite/md5sum.tests
+++ b/testsuite/md5sum.tests
@@ -30,13 +30,13 @@ result=`(
n=0
while test $n -le 999; do
echo "$text" | head -c $n | "$sum"
- : $((n++))
+ n=$(($n+1))
done | "$sum"
)`
if test x"$result" = x"$expected -"; then
- echo "PASS: $sum"
- exit 0
+ echo "PASS: $sum"
+ exit 0
fi
echo "FAIL: $sum (r:$result exp:$expected)"