diff options
author | Damien Miller <djm@mindrot.org> | 2014-07-25 08:11:30 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-07-25 08:11:30 +1000 |
commit | 56b840f2b81e14a2f95c203403633a72566736f8 (patch) | |
tree | 7c1741dbe3e19fa75baa4c1aec6fdd285df1f3ca /regress/multiplex.sh | |
parent | dd417b60d5ca220565d1014e92b7f8f43dc081eb (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.sh | 2 |
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" |
168 | N=$(echo "" | $NC -U $OBJ/unix-1.fwd 2>&1 | wc -l) | ||
169 | N=$(echo "xyzzy" | $NC -U $OBJ/unix-1.fwd 2>&1 | grep "xyzzy" | wc -l) | 168 | N=$(echo "xyzzy" | $NC -U $OBJ/unix-1.fwd 2>&1 | grep "xyzzy" | wc -l) |
169 | test ${N} -eq 0 || fail "remote forward path still listening" | ||
170 | rm -f $OBJ/unix-1.fwd | 170 | rm -f $OBJ/unix-1.fwd |
171 | 171 | ||
172 | verbose "test $tid: cmd exit" | 172 | verbose "test $tid: cmd exit" |