summaryrefslogtreecommitdiffstats
path: root/tests/socket.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-07-10 17:21:23 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-07-10 17:21:23 (GMT)
commitb7bbd160ec1577a4212fc261c1de5489dff65596 (patch)
tree9a8ee548782df2986f67cdbfe4a97625679f09a4 /tests/socket.test
parentb92f2e193fa860f286960078e2faa5e19d9556f3 (diff)
downloadtcl-b7bbd160ec1577a4212fc261c1de5489dff65596.zip
tcl-b7bbd160ec1577a4212fc261c1de5489dff65596.tar.gz
tcl-b7bbd160ec1577a4212fc261c1de5489dff65596.tar.bz2
[f652ae79ed] Close sockets used in tests, so as not to corrupt other
tests in the suite.
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 2bd2731..93fdb2d 100644
--- a/tests/socket.test
+++ b/tests/socket.test
@@ -2309,6 +2309,7 @@ test socket-14.15 {blocking read on async socket should not trigger event handle
set x ok
fileevent $s writable {set x fail}
catch {read $s}
+ close $s
set x
} -result ok