summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/winFCmd.test11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/winFCmd.test b/tests/winFCmd.test
index 6fc58a8..d118e27 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.26 2004/01/21 19:59:34 vincentdarley Exp $
+# RCS: @(#) $Id: winFCmd.test,v 1.27 2004/05/04 22:30:24 hobbs Exp $
#
if {[lsearch [namespace children] ::tcltest] == -1} {
@@ -1028,6 +1028,15 @@ test winFCmd-16.11 {Windows file normalization} {pcOnly cdrom} {
# Must not crash
set result "no crash"
} {no crash}
+test winFCmd-16.12 {Windows file normalization} {pcOnly} {
+ set oldhome ""
+ catch {set oldhome $::env(HOME)}
+ set ::env(HOME) ${d}:
+ cd
+ set result [pwd]; # <- Must not crash
+ set ::env(HOME) $oldhome
+ set result
+} ${d}:/
cd $pwd
unset d dd pwd