summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
authorhobbs <hobbs>2008-05-26 18:28:47 (GMT)
committerhobbs <hobbs>2008-05-26 18:28:47 (GMT)
commit0c84b3ac801dc1a49920b6d330a5f912975ffc14 (patch)
tree1429fe55c1616eda5dd6f5efc7a5f8bd12d79194 /tests/io.test
parentfef66b3a8ba130ec832bd025733edb25751851a6 (diff)
downloadtcl-0c84b3ac801dc1a49920b6d330a5f912975ffc14.zip
tcl-0c84b3ac801dc1a49920b6d330a5f912975ffc14.tar.gz
tcl-0c84b3ac801dc1a49920b6d330a5f912975ffc14.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 10115c1..274c736 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.89 2008/05/23 21:00:45 andreas_kupries Exp $
+# RCS: @(#) $Id: io.test,v 1.90 2008/05/26 18:28:47 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}