summaryrefslogtreecommitdiff
path: root/regress/multiplex.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-07-25 08:11:30 +1000
committerDamien Miller <djm@mindrot.org>2014-07-25 08:11:30 +1000
commit56b840f2b81e14a2f95c203403633a72566736f8 (patch)
tree7c1741dbe3e19fa75baa4c1aec6fdd285df1f3ca /regress/multiplex.sh
parentdd417b60d5ca220565d1014e92b7f8f43dc081eb (diff)
- (djm) [regress/multiplex.sh] restore incorrectly deleted line;
pointed out by Christian Hesse
Diffstat (limited to 'regress/multiplex.sh')
-rw-r--r--regress/multiplex.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/multiplex.sh b/regress/multiplex.sh
index fc32d13e3..693211bff 100644
--- a/regress/multiplex.sh
+++ b/regress/multiplex.sh
@@ -165,8 +165,8 @@ echo "" | $NC -U $OBJ/unix-1.fwd | grep "Protocol mismatch" >/dev/null 2>&1 \
165 || fail "connect to remote forwarded path failed" 165 || fail "connect to remote forwarded path failed"
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)
169N=$(echo "xyzzy" | $NC -U $OBJ/unix-1.fwd 2>&1 | grep "xyzzy" | wc -l) 168N=$(echo "xyzzy" | $NC -U $OBJ/unix-1.fwd 2>&1 | grep "xyzzy" | wc -l)
169test ${N} -eq 0 || fail "remote forward path still listening"
170rm -f $OBJ/unix-1.fwd 170rm -f $OBJ/unix-1.fwd
171 171
172verbose "test $tid: cmd exit" 172verbose "test $tid: cmd exit"