summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
authorhobbs <hobbs>2008-05-26 18:27:53 (GMT)
committerhobbs <hobbs>2008-05-26 18:27:53 (GMT)
commit34b61d5e2164cb84bf3e49bfe0a67ca797b9109c (patch)
treeae2c79522c6f7b3436976c96c765e2bd38343f6a /tests/io.test
parent882f2ac2e6ddf2541a019c7f411e1959ef9cb221 (diff)
downloadtcl-34b61d5e2164cb84bf3e49bfe0a67ca797b9109c.zip
tcl-34b61d5e2164cb84bf3e49bfe0a67ca797b9109c.tar.gz
tcl-34b61d5e2164cb84bf3e49bfe0a67ca797b9109c.tar.bz2
(io-53.9): need to close chan before removing file
Diffstat (limited to 'tests/io.test')
-rw-r--r--tests/io.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/io.test b/tests/io.test
index 9081f94..367f0e1 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -13,7 +13,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: io.test,v 1.80.2.10 2008/05/23 21:10:45 andreas_kupries Exp $
+# RCS: @(#) $Id: io.test,v 1.80.2.11 2008/05/26 18:27:53 hobbs Exp $
if {[catch {package require tcltest 2}]} {
puts stderr "Skipping tests in [info script]. tcltest 2 required."
@@ -7051,6 +7051,7 @@ test io-53.9 {CopyData: -size and event interaction, Bug 780533} -setup {
close $pipe
rename ::done {}
after 1000; # Give Windows time to kill the process
+ catch {close $out}
catch {removeFile out}
catch {removeFile err}
catch {unset ::forever}