From 3f7100463b25bdefc3821327716c91d677e4b280 Mon Sep 17 00:00:00 2001 From: Keith Rarick Date: Fri, 14 Nov 2008 01:51:34 -0800 Subject: [PATCH] Make sure nc quits eventually. --- shell_tests/run_one.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell_tests/run_one.sh b/shell_tests/run_one.sh index d283f1d..a868937 100755 --- a/shell_tests/run_one.sh +++ b/shell_tests/run_one.sh @@ -17,7 +17,7 @@ clean_exit() { exit $2 } -fgrep -v "#" $1 | nc $SERVER $PORT > .tmp_test +fgrep -v "#" $1 | nc -q 1 $SERVER $PORT > .tmp_test # diff is "false" if they match if diff .tmp_test $2; then -- 2.11.4.GIT