summaryrefslogtreecommitdiff
path: root/regress/multiplex.sh
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2020-01-25 00:27:56 +0000
committerDarren Tucker <dtucker@dtucker.net>2020-01-25 11:51:03 +1100
commit94a2e5951b374e1a89761ceaff72e66eb1946807 (patch)
tree295bff14aebc4d9a3af8a8e72b966e3ae9a55cf7 /regress/multiplex.sh
parentb2df804f571d77b07059f087b90955ffbc2f67d4 (diff)
upstream: Wait a bit longer for the multiplex master to become ready
since on very slow hosts the current delay is not sufficient and the test will fail. OpenBSD-Regress-ID: 6d90c7475d67ac3a95610b64af700629ece51a48
Diffstat (limited to 'regress/multiplex.sh')
-rw-r--r--regress/multiplex.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/multiplex.sh b/regress/multiplex.sh
index b5e604dba..f93310ed8 100644
--- a/regress/multiplex.sh
+++ b/regress/multiplex.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: multiplex.sh,v 1.30 2019/07/05 04:03:13 dtucker Exp $ 1# $OpenBSD: multiplex.sh,v 1.31 2020/01/25 00:27:56 dtucker Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4make_tmpdir 4make_tmpdir
@@ -18,7 +18,7 @@ P=3301 # test port
18 18
19wait_for_mux_master_ready() 19wait_for_mux_master_ready()
20{ 20{
21 for i in 1 2 3 4 5; do 21 for i in 1 2 3 4 5 6 7 8 9; do
22 ${SSH} -F $OBJ/ssh_config -S $CTL -Ocheck otherhost \ 22 ${SSH} -F $OBJ/ssh_config -S $CTL -Ocheck otherhost \
23 >/dev/null 2>&1 && return 0 23 >/dev/null 2>&1 && return 0
24 sleep $i 24 sleep $i