[openssh-commits] [openssh] 01/02: upstream: backout regress bits related to multiplexing change

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Oct 6 18:56:07 AEDT 2026


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 630144f410985ce9bad03929556b3c364bc0e255
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Wed Sep 23 21:45:51 2026 +0000

    upstream: backout regress bits related to multiplexing change
    
    OpenBSD-Regress-ID: 3fdaea9d640ce1d4950223b66f26f6f1ab46f4c9
---
 regress/multiplex.sh | 21 +--------------------
 1 file changed, 1 insertion(+), 20 deletions(-)

diff --git a/regress/multiplex.sh b/regress/multiplex.sh
index fcaad9886..e23f7d2b3 100644
--- a/regress/multiplex.sh
+++ b/regress/multiplex.sh
@@ -1,4 +1,4 @@
-#	$OpenBSD: multiplex.sh,v 1.42 2026/09/22 03:26:32 djm Exp $
+#	$OpenBSD: multiplex.sh,v 1.43 2026/09/23 21:45:51 djm Exp $
 #	Placed in the Public Domain.
 
 tid="connection multiplexing"
@@ -48,24 +48,6 @@ if [ $? -ne 0 ]; then
 	fail "environment not found"
 fi
 
-start_auto_mux_master()
-{
-	trace "start master (with ControlMaster=auto), fork to background"
-	${SSH} -Nn2 -o ControlMaster=auto -S$CTL -F $OBJ/ssh_config -oSendEnv="_XXX_TEST" somehost \
-	    -E $TEST_REGRESS_LOGFILE 2>&1 &
-	# NB. $SSH_PID will be killed by test-exec.sh:cleanup on fatal errors.
-	SSH_PID=$!
-	sleep 2
-	wait_for_mux_master_ready
-}
-
-verbose "test $tid: stale control socket"
-trace "correctly handle stale control socket"
-kill -9 ${SSH_PID} 2>/dev/null
-wait ${SSH_PID}
-test -e "$CTL" || fail "control socket did not remain (after killing ssh command)"
-start_auto_mux_master
-
 verbose "test $tid: envpass"
 trace "env passing over multiplexed connection"
 ${SSH} -F $OBJ/ssh_config -oSetEnv="_XXX_TEST=foo" -S$CTL otherhost sh << 'EOF'
@@ -213,7 +195,6 @@ ${SSH} -F $OBJ/ssh_config -S $CTL -Oexit otherhost >>$TEST_REGRESS_LOGFILE 2>&1
 # Wait for master to exit
 wait $SSH_PID
 kill -0 $SSH_PID >/dev/null 2>&1 && fail "exit command failed"
-test ! -e "$CTL" || fail "control socket still exists after exit command"
 
 # Enable compression and alternative kex for next conninfo test.
 if $SSH -Q compression | grep zlib at openssh.com >/dev/null; then

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list