summaryrefslogtreecommitdiffstats
path: root/tests/fileName.test
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2005-06-21 19:07:31 (GMT)
committerKevin B Kenny <kennykb@acm.org>2005-06-21 19:07:31 (GMT)
commit0a8e0f35a2edeb0b51aef1e06df239c2c64ef776 (patch)
tree18e123dde9ce1dd8a78bc5619332b12bb843b6d1 /tests/fileName.test
parent2e99120257a8ebe71af4bcfeab8cc1d031a4bd24 (diff)
downloadtcl-0a8e0f35a2edeb0b51aef1e06df239c2c64ef776.zip
tcl-0a8e0f35a2edeb0b51aef1e06df239c2c64ef776.tar.gz
tcl-0a8e0f35a2edeb0b51aef1e06df239c2c64ef776.tar.bz2
bugs 1194458 and 1225044
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 d0497de..7635e2d 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.30.2.6 2004/11/11 01:16:19 das Exp $
+# RCS: @(#) $Id: fileName.test,v 1.30.2.7 2005/06/21 19:07:58 kennykb Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -2001,6 +2001,13 @@ test filename-17.2 {windows specific glob with executable} {winOnly} {
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]