diff --git a/tests/port-forwarding/runtest.sh b/tests/port-forwarding/runtest.sh index b9e125a..7ee1511 100755 --- a/tests/port-forwarding/runtest.sh +++ b/tests/port-forwarding/runtest.sh @@ -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