aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/netcat.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/netcat.test b/tests/netcat.test
index 40b51d40..81e6ec7d 100755
--- a/tests/netcat.test
+++ b/tests/netcat.test
@@ -6,6 +6,6 @@
{ dd if=/dev/zero bs=4k count=1 2>/dev/null | tr '\0' a; echo b; } > testfile
testing "more than buffer bytes left at end" \
- "netcat -lp 1234 wc -c & cat testfile | netcat 127.0.0.1 1234" \
+ "netcat -lp 1234 wc -c & sleep .1 && cat testfile | netcat 127.0.0.1 1234" \
"4098\n" "" ""
rm -f testfile