summaryrefslogtreecommitdiffstats
path: root/tests/winFCmd.test
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2004-06-23 21:32:00 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2004-06-23 21:32:00 (GMT)
commit550e9735df90e5d6d0447f5d72fb3ff8a0cc4a86 (patch)
treed421ca0da9c3a6d577ea8c15c905a826a005a2a3 /tests/winFCmd.test
parentacbc153d8091d6b8e6d510a441c9292e6a06e7e6 (diff)
downloadtcl-550e9735df90e5d6d0447f5d72fb3ff8a0cc4a86.zip
tcl-550e9735df90e5d6d0447f5d72fb3ff8a0cc4a86.tar.gz
tcl-550e9735df90e5d6d0447f5d72fb3ff8a0cc4a86.tar.bz2
* tests/winFCmd.test: Added a cleanup to winFCmd-16.11 to avoid a
failure in 16.12.
Diffstat (limited to 'tests/winFCmd.test')
-rw-r--r--tests/winFCmd.test9
1 files changed, 6 insertions, 3 deletions
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 ""