From 550e9735df90e5d6d0447f5d72fb3ff8a0cc4a86 Mon Sep 17 00:00:00 2001 From: patthoyts Date: Wed, 23 Jun 2004 21:32:00 +0000 Subject: * tests/winFCmd.test: Added a cleanup to winFCmd-16.11 to avoid a failure in 16.12. --- ChangeLog | 3 +++ tests/winFCmd.test | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 33321a3..5011b8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-06-23 Pat Thoyts + * tests/winFCmd.test: Added a cleanup to winFCmd-16.11 to avoid a + failure in 16.12. + * tests/eofchar.data: Added -kb option to ensure a binary checkout to win32 systems. This fixes a failure in io-61.1 diff --git a/tests/winFCmd.test b/tests/winFCmd.test index 3fd622d..dc0edd9 100644 --- a/tests/winFCmd.test +++ b/tests/winFCmd.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: winFCmd.test,v 1.32 2004/06/23 15:36:59 dkf Exp $ +# RCS: @(#) $Id: winFCmd.test,v 1.33 2004/06/23 21:32:03 patthoyts Exp $ # if {[lsearch [namespace children] ::tcltest] == -1} { @@ -1014,14 +1014,17 @@ if {$d eq "C"} { set dd "D" } else { set dd "C" } test winFCmd-16.10 {Windows file normalization} {win} { file norm ${dd}:foo } "${dd}:/foo" -test winFCmd-16.11 {Windows file normalization} {win cdrom} { +test winFCmd-16.11 {Windows file normalization} -constraints {win cdrom} \ +-body { cd ${d}: cd $cdrom cd ${d}: cd $cdrom # Must not crash set result "no crash" -} {no crash} +} -cleanup { + cd ${d}: +} -result {no crash} test winFCmd-16.12 {Windows file normalization} -constraints win -setup { set oldwd [pwd] set oldhome "" -- cgit v0.12