summaryrefslogtreecommitdiffstats
path: root/tests/socket.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-01-23 17:43:19 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-01-23 17:43:19 (GMT)
commit889858de26753cb512fda204a65783c308b7b576 (patch)
tree68cc9be40d0e5990bd54b225a59df977dd068811 /tests/socket.test
parent40a794e7c84fac5d968985b3ac2f1507fe2e800c (diff)
downloadtcl-889858de26753cb512fda204a65783c308b7b576.zip
tcl-889858de26753cb512fda204a65783c308b7b576.tar.gz
tcl-889858de26753cb512fda204a65783c308b7b576.tar.bz2
Backport patch 2834a01435 to prevent test failures from timing matters.
Diffstat (limited to 'tests/socket.test')
-rw-r--r--tests/socket.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/socket.test b/tests/socket.test
index 96b81b8..2b382d6 100644
--- a/tests/socket.test
+++ b/tests/socket.test
@@ -577,6 +577,7 @@ test socket-2.11 {detecting new data} {socket} {
fconfigure $sock -blocking 1
puts $s2 two
flush $s2
+ after 500
fconfigure $sock -blocking 0
lappend result c:[gets $sock]
fconfigure $sock -blocking 1