From 9e0ba6fcb1e8e8209626c129525048b0f6d0f965 Mon Sep 17 00:00:00 2001 From: patthoyts Date: Wed, 23 Jun 2004 22:02:41 +0000 Subject: * tests/io.test: Added -force to 18.1 and 18.2. This was failing on WinXP. --- ChangeLog | 3 +++ tests/io.test | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5011b8a..dbf4ca6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-06-23 Pat Thoyts + * tests/io.test: Added -force to 18.1 and 18.2. This was failing + on WinXP. + * tests/winFCmd.test: Added a cleanup to winFCmd-16.11 to avoid a failure in 16.12. diff --git a/tests/io.test b/tests/io.test index 80aafa2..e7eda1f 100644 --- a/tests/io.test +++ b/tests/io.test @@ -12,7 +12,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.56 2004/06/23 15:36:56 dkf Exp $ +# RCS: @(#) $Id: io.test,v 1.57 2004/06/23 22:02:41 patthoyts Exp $ if {[catch {package require tcltest 2}]} { puts stderr "Skipping tests in [info script]. tcltest 2 required." @@ -1762,7 +1762,7 @@ test io-17.3 {GetChannelTable, DeleteChannelTable on std handles} {testchannel} } {0 1 0} test io-18.1 {Tcl_RegisterChannel, Tcl_UnregisterChannel} {testchannel} { - file delete $path(test1) + file delete -force $path(test1) set l "" set f [open $path(test1) w] lappend l [lindex [testchannel info $f] 15] @@ -1776,7 +1776,7 @@ test io-18.1 {Tcl_RegisterChannel, Tcl_UnregisterChannel} {testchannel} { [list 1 [format "can not find channel named \"%s\"" $f]] } 0 test io-18.2 {Tcl_RegisterChannel, Tcl_UnregisterChannel} {testchannel} { - file delete $path(test1) + file delete -force $path(test1) set l "" set f [open $path(test1) w] lappend l [lindex [testchannel info $f] 15] -- cgit v0.12