skip bash tests that use multiplexing on Windows with explicit if

This commit is contained in:
tgauth@bu.edu 2024-01-22 13:07:57 -05:00
parent 0c166db115
commit afd613528f
1 changed files with 38 additions and 36 deletions

View File

@ -77,9 +77,10 @@ if [ $r -ne 23 ]; then
fail "ssh failed"
fi
if config_defined DISABLE_FD_PASSING ; then
if [ "$os" != "windows" ]; then
if config_defined DISABLE_FD_PASSING ; then
verbose "skipping multiplexing tests"
else
else
verbose "multiplexed command timeout"
(cat $OBJ/sshd_proxy.orig ; echo "ChannelTimeout session:command=1") \
> $OBJ/sshd_proxy
@ -114,6 +115,7 @@ else
test -f $OBJ/finished.2 && fail "second mux process completed"
test -f $OBJ/finished.3 || fail "third mux process did not complete"
close_mux
fi
fi
# Set up a "slow sftp server" that sleeps before executing the real one.