]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Skip connection-timeout when missing FD passing.
authorDarren Tucker <dtucker@dtucker.net>
Wed, 25 Jan 2023 10:58:40 +0000 (21:58 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Wed, 25 Jan 2023 10:58:40 +0000 (21:58 +1100)
This tests uses multiplexing which uses file descriptor passing, so
skip it if we don't have that.  Fixes test failures on Cygwin.

regress/connection-timeout.sh

index 6c0c0b22567f5f6e3de144a0d45803d3086a0f38..c77abb38d8d3cbd624599ed28f32cd41908757f3 100644 (file)
@@ -2,6 +2,9 @@
 #      Placed in the Public Domain.
 
 tid="unused connection timeout"
+if config_defined DISABLE_FD_PASSING ; then
+       skip "not supported on this platform"
+fi
 
 CTL=$OBJ/ctl-sock
 cp $OBJ/sshd_proxy $OBJ/sshd_proxy.orig