Increase timeout. Resyncs with portable where some of the test
authordtucker <dtucker@openbsd.org>
Mon, 25 Mar 2024 01:40:47 +0000 (01:40 +0000)
committerdtucker <dtucker@openbsd.org>
Mon, 25 Mar 2024 01:40:47 +0000 (01:40 +0000)
VMs are slow enough for this to matter.

regress/usr.bin/ssh/cfgmatchlisten.sh

index ca2f407..2308db1 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: cfgmatchlisten.sh,v 1.3 2018/07/02 14:13:30 dtucker Exp $
+#      $OpenBSD: cfgmatchlisten.sh,v 1.4 2024/03/25 01:40:47 dtucker Exp $
 #      Placed in the Public Domain.
 
 tid="sshd_config matchlisten"
@@ -28,7 +28,7 @@ start_client()
        while test ! -f $pidfile ; do
                sleep 1
                n=`expr $n + 1`
-               if test $n -gt 5; then
+               if test $n -gt 60; then
                        kill $client_pid
                        fatal "timeout waiting for background ssh"
                fi