From 6b2140deea3b4bbdec9a2f0061f2e8d21c366f63 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Mon, 12 Mar 2018 15:52:51 +0100 Subject: [PATCH] tests/port-forwarding: Do not expect the nc will succeed --- tests/port-forwarding/runtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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