tests/port-forwarding: Do not expect the nc will succeed
This commit is contained in:
parent
b4cbb0fe23
commit
6b2140deea
@ -67,7 +67,7 @@ forwarding_test() {
|
||||
rlRun "echo SSH_PID is '$SSH_PID'"
|
||||
rlWaitForSocket $FORWARDED -t $TIMEOUT
|
||||
rlRun "[[ -n '$SSH_PID' ]] && ps -fp $SSH_PID"
|
||||
rlRun "echo '$MESSAGE'|nc localhost $FORWARDED"
|
||||
rlRun "echo '$MESSAGE'|nc localhost $FORWARDED" 0,1
|
||||
|
||||
if [[ $EXP_RESULT == "success" ]]; then
|
||||
rlAssertGrep "$MESSAGE" listen.log
|
||||
|
Loading…
Reference in New Issue
Block a user