summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2014-07-10 17:21:23 (GMT)
committerdgp@users.sourceforge.net <dgp>2014-07-10 17:21:23 (GMT)
commite15c2d2142e7be2f1d17b12d25e2dbc1010a74c9 (patch)
tree9a8ee548782df2986f67cdbfe4a97625679f09a4
parented656f60eee4a391345ada2ebf1af1e61d0128a3 (diff)
downloadtcl-e15c2d2142e7be2f1d17b12d25e2dbc1010a74c9.zip
tcl-e15c2d2142e7be2f1d17b12d25e2dbc1010a74c9.tar.gz
tcl-e15c2d2142e7be2f1d17b12d25e2dbc1010a74c9.tar.bz2
[f652ae79ed] Close sockets used in tests, so as not to corrupt other
tests in the suite.
-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