From 0c84b3ac801dc1a49920b6d330a5f912975ffc14 Mon Sep 17 00:00:00 2001 From: hobbs Date: Mon, 26 May 2008 18:28:47 +0000 Subject: (io-53.9): need to close chan before removing file --- ChangeLog | 4 ++++ tests/io.test | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6ab13c3..aadcf78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-05-26 Jeff Hobbs + + * tests/io.test (io-53.9): need to close chan before removing file. + 2008-05-26 Donal K. Fellows * win/makefile.bc: Remove deprecated winhelp target. 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} -- cgit v0.12