summaryrefslogtreecommitdiffstats
path: root/tests/fileName.test
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2005-06-21 19:20:07 (GMT)
committerKevin B Kenny <kennykb@acm.org>2005-06-21 19:20:07 (GMT)
commit56f28b758b4acc2645154511abadd810ef8244c4 (patch)
tree430ef12151190d3965d9713909b934fb592680aa /tests/fileName.test
parent7f3ff45a57343745a50fb144bb29f676e93bd10b (diff)
downloadtcl-56f28b758b4acc2645154511abadd810ef8244c4.zip
tcl-56f28b758b4acc2645154511abadd810ef8244c4.tar.gz
tcl-56f28b758b4acc2645154511abadd810ef8244c4.tar.bz2
bug 1194458
Diffstat (limited to 'tests/fileName.test')
-rw-r--r--tests/fileName.test9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/fileName.test b/tests/fileName.test
index 1e50b01..09b7ee1 100644
--- a/tests/fileName.test
+++ b/tests/fileName.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: fileName.test,v 1.45 2004/11/11 01:16:05 das Exp $
+# RCS: @(#) $Id: fileName.test,v 1.46 2005/06/21 19:20:12 kennykb Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -1519,6 +1519,13 @@ test filename-17.2 {windows specific glob with executable} {win} {
set res
} {abc.exe}
+test fileName-18.1 {windows - split ADS name correctly} {winOnly} {
+ # bug 1194458
+ set x [file split c:/c:d]
+ set y [eval [linsert $x 0 file join]]
+ list $x $y
+} {{c:/ ./c:d} c:/c:d}
+
# cleanup
catch {file delete -force C:/globTest}
cd [temporaryDirectory]