summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2013-05-17 10:16:27 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2013-05-17 10:16:27 +0000
commit1819e83c91a86bd8c922d748aa5b23fabb45cb71 (patch)
tree82188efc1c5df7fe8e846d46ef85554b1b614b82 /regress/usr.bin
parent1e9e7cb9a3d798e3d491389525ea39c98f6de116 (diff)
use expr for math to keep diffs vs portable down
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/ssh/try-ciphers.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/try-ciphers.sh b/regress/usr.bin/ssh/try-ciphers.sh
index 07642bd6db9..41b2a60059c 100644
--- a/regress/usr.bin/ssh/try-ciphers.sh
+++ b/regress/usr.bin/ssh/try-ciphers.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: try-ciphers.sh,v 1.19 2013/02/11 23:58:51 djm Exp $
+# $OpenBSD: try-ciphers.sh,v 1.20 2013/05/17 10:16:26 dtucker Exp $
# Placed in the Public Domain.
tid="try ciphers"
@@ -29,7 +29,7 @@ for c in $ciphers; do
case $c in
aes*-gcm@openssh.com) test $n -gt 0 && break;;
esac
- n=$(($n + 1))
+ n=`expr $n + 1`
done
done