From 92d712c4547734c669828ffa22235eb5fa41cb12 Mon Sep 17 00:00:00 2001 From: DimVlas Date: Mon, 6 Jan 2025 23:49:35 +0300 Subject: [PATCH] hw11. reject test.sh --- 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 ae4ed75..422b594 100755 --- a/hw11_telnet_client/test.sh +++ b/hw11_telnet_client/test.sh @@ -3,7 +3,7 @@ set -xeuo pipefail go build -o go-telnet -(echo -e "Hello\nFrom\nNC\n" && cat 2>/dev/null) | nc -l 127.0.0.1 -p 4242 >/tmp/nc.out & +(echo -e "Hello\nFrom\nNC\n" && cat 2>/dev/null) | nc -l localhost 4242 >/tmp/nc.out & NC_PID=$! sleep 1