summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordtucker <dtucker@openbsd.org>2011-05-20 06:32:30 +0000
committerdtucker <dtucker@openbsd.org>2011-05-20 06:32:30 +0000
commit3f4f9746d7829a11b2d55881c9af6c6a89e8059f (patch)
treec991f0c1745084fb51e6842d0629a49ba4148b32
parentAvoid double scsi_done(xs) in error path; ok dlg@ krw@ (diff)
downloadwireguard-openbsd-3f4f9746d7829a11b2d55881c9af6c6a89e8059f.tar.xz
wireguard-openbsd-3f4f9746d7829a11b2d55881c9af6c6a89e8059f.zip
fix dumb error in dynamic-forward test
-rw-r--r--regress/usr.bin/ssh/dynamic-forward.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/dynamic-forward.sh b/regress/usr.bin/ssh/dynamic-forward.sh
index 170fa123ea0..0db079626d1 100644
--- a/regress/usr.bin/ssh/dynamic-forward.sh
+++ b/regress/usr.bin/ssh/dynamic-forward.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: dynamic-forward.sh,v 1.5 2011/05/20 05:19:50 dtucker Exp $
+# $OpenBSD: dynamic-forward.sh,v 1.6 2011/05/20 06:32:30 dtucker Exp $
# Placed in the Public Domain.
tid="dynamic forwarding"
@@ -29,7 +29,7 @@ for p in 1 2; do
while test ! -f $OBJ/remote_pid; do
sleep 1
n=`expr $n + 1`
- if test $n > 60; then
+ if test $n -gt 60; then
kill $client_pid
fail "Timed out waiting for client to connect"
fi