From fcc73dfa9a87c7005526f022edb18776a039a1c1 Mon Sep 17 00:00:00 2001 From: Andrey Ivanov <tiburon-777@users.noreply.github.com> Date: Thu, 18 Jun 2020 08:41:51 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw11_telnet_client/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw11_telnet_client/test.sh b/hw11_telnet_client/test.sh index bbf2a03..422b594 100755 --- a/hw11_telnet_client/test.sh +++ b/hw11_telnet_client/test.sh @@ -7,7 +7,7 @@ go build -o go-telnet NC_PID=$! sleep 1 -echo -e "I\nam\nTELNET client\n" | ./go-telnet --timeout=5s localhost 4242 >/tmp/telnet.out & +(echo -e "I\nam\nTELNET client\n" && cat 2>/dev/null) | ./go-telnet --timeout=5s localhost 4242 >/tmp/telnet.out & TL_PID=$! sleep 5