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