diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/multiplex.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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" |
157 | N=$(echo "" | $NC -U $OBJ/unix-1.fwd 2>&1 | wc -l) | 157 | N=$(echo "xyzzy" | $NC -U $OBJ/unix-1.fwd 2>&1 | grep "xyzzy" | wc -l) |
158 | test ${N} -eq 0 || fail "local forward path still listening" | 158 | test ${N} -eq 0 || fail "local forward path still listening" |
159 | rm -f $OBJ/unix-1.fwd | 159 | rm -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" |
168 | N=$(echo "" | $NC -U $OBJ/unix-1.fwd 2>&1 | wc -l) | 168 | N=$(echo "" | $NC -U $OBJ/unix-1.fwd 2>&1 | wc -l) |
169 | test ${N} -eq 0 || fail "remote forward path still listening" | 169 | N=$(echo "xyzzy" | $NC -U $OBJ/unix-1.fwd 2>&1 | grep "xyzzy" | wc -l) |
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" |