summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2013-11-18 05:09:33 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2013-11-18 05:09:33 +0000
commit8411687dde061510354205e36a23c694a3f025a7 (patch)
tree79f30d8a84d35a4f17844e09faffc7b10837c802 /regress/usr.bin/ssh
parent1792513eb57b40ff8ab69f9a394826c276dc30c9 (diff)
bump timeout to 10 seconds to allow slow machines (e.g. Alpha PC164)
to successfully run this; ok djm@
Diffstat (limited to 'regress/usr.bin/ssh')
-rw-r--r--regress/usr.bin/ssh/forward-control.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/ssh/forward-control.sh b/regress/usr.bin/ssh/forward-control.sh
index 9d000bc76a6..46d820182fb 100644
--- a/regress/usr.bin/ssh/forward-control.sh
+++ b/regress/usr.bin/ssh/forward-control.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: forward-control.sh,v 1.1 2012/12/02 20:47:48 djm Exp $
+# $OpenBSD: forward-control.sh,v 1.2 2013/11/18 05:09:32 naddy Exp $
# Placed in the Public Domain.
tid="sshd control of local and remote forwarding"
@@ -14,7 +14,7 @@ wait_for_file_to_appear() {
while test ! -e $_path ; do
test $_n -eq 1 && trace "waiting for $_path to appear"
_n=`expr $_n + 1`
- test $_n -ge 5 && return 1
+ test $_n -ge 10 && return 1
sleep 1
done
return 0
@@ -26,7 +26,7 @@ wait_for_process_to_exit() {
while kill -0 $_pid 2>/dev/null ; do
test $_n -eq 1 && trace "waiting for $_pid to exit"
_n=`expr $_n + 1`
- test $_n -ge 5 && return 1
+ test $_n -ge 10 && return 1
sleep 1
done
return 0