summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--regress/multiplex.sh4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7905150a6..16c6bcc12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
120140722 120140722
2 - (djm) [regress/multiplex.sh] ssh mux master lost -N somehow; 2 - (djm) [regress/multiplex.sh] ssh mux master lost -N somehow;
3 put it back 3 put it back
4 - (djm) [regress/multiplex.sh] change the test for still-open Unix
5 domain sockets to be robust against nc implementations that produce
6 error messages.
4 7
520140721 820140721
6 - OpenBSD CVS Sync 9 - OpenBSD CVS Sync
diff --git a/regress/multiplex.sh b/regress/multiplex.sh
index cc52f4348..16bb5042f 100644
--- a/regress/multiplex.sh
+++ b/regress/multiplex.sh
@@ -154,7 +154,7 @@ echo "" | $NC -U $OBJ/unix-1.fwd | grep "Protocol mismatch" >/dev/null 2>&1 \
154 || fail "connect to local forward path failed" 154 || fail "connect to local forward path failed"
155${SSH} -F $OBJ/ssh_config -S $CTL -Ocancel -L $OBJ/unix-1.fwd:localhost:$PORT otherhost \ 155${SSH} -F $OBJ/ssh_config -S $CTL -Ocancel -L $OBJ/unix-1.fwd:localhost:$PORT otherhost \
156 || fail "cancel local forward failed" 156 || fail "cancel local forward failed"
157N=$(echo "" | $NC -U $OBJ/unix-1.fwd 2>&1 | wc -l) 157N=$(echo "xyzzy" | $NC -U $OBJ/unix-1.fwd 2>&1 | grep "xyzzy" | wc -l)
158test ${N} -eq 0 || fail "local forward path still listening" 158test ${N} -eq 0 || fail "local forward path still listening"
159rm -f $OBJ/unix-1.fwd 159rm -f $OBJ/unix-1.fwd
160 160
@@ -166,7 +166,7 @@ echo "" | $NC -U $OBJ/unix-1.fwd | grep "Protocol mismatch" >/dev/null 2>&1 \
166${SSH} -F $OBJ/ssh_config -S $CTL -Ocancel -R $OBJ/unix-1.fwd:localhost:$PORT otherhost \ 166${SSH} -F $OBJ/ssh_config -S $CTL -Ocancel -R $OBJ/unix-1.fwd:localhost:$PORT otherhost \
167 || fail "cancel remote forward failed" 167 || fail "cancel remote forward failed"
168N=$(echo "" | $NC -U $OBJ/unix-1.fwd 2>&1 | wc -l) 168N=$(echo "" | $NC -U $OBJ/unix-1.fwd 2>&1 | wc -l)
169test ${N} -eq 0 || fail "remote forward path still listening" 169N=$(echo "xyzzy" | $NC -U $OBJ/unix-1.fwd 2>&1 | grep "xyzzy" | wc -l)
170rm -f $OBJ/unix-1.fwd 170rm -f $OBJ/unix-1.fwd
171 171
172verbose "test $tid: cmd exit" 172verbose "test $tid: cmd exit"