summaryrefslogtreecommitdiffstats
path: root/tests/fileName.test
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2004-03-30 15:35:45 (GMT)
committervincentdarley <vincentdarley>2004-03-30 15:35:45 (GMT)
commit5b3cf09d56c6bccfa2d2d4ffcedab7afa9738188 (patch)
treee1181b1465473c4ac32033533ed4cf3cfec67c39 /tests/fileName.test
parente7a7c5a2234e5cee662915660923c347b6a5d07d (diff)
downloadtcl-5b3cf09d56c6bccfa2d2d4ffcedab7afa9738188.zip
tcl-5b3cf09d56c6bccfa2d2d4ffcedab7afa9738188.tar.gz
tcl-5b3cf09d56c6bccfa2d2d4ffcedab7afa9738188.tar.bz2
fix to glob with volume relative paths, bug 898238
Diffstat (limited to 'tests/fileName.test')
-rw-r--r--tests/fileName.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/fileName.test b/tests/fileName.test
index 6168f6f..791b69d 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.39 2004/03/30 09:56:33 vincentdarley Exp $
+# RCS: @(#) $Id: fileName.test,v 1.40 2004/03/30 15:35:47 vincentdarley Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -1312,12 +1312,15 @@ test filename-14.21 {asterisks, question marks, and brackets} {
test filename-14.22 {asterisks, question marks, and brackets} {
list [catch {glob goo/* x*z foo?q} msg] $msg
} {1 {no files matched glob patterns "goo/* x*z foo?q"}}
-test filename-14.23 {slash globbing} {unixOrPc} {
+test filename-14.23 {slash globbing} {unixOnly} {
glob /
} /
+test filename-14.23.2 {slash globbing} {pcOnly} {
+ glob /
+} [file norm /]
test filename-14.24 {slash globbing} {pcOnly} {
glob {\\}
-} /
+} [file norm /]
test filename-14.25 {type specific globbing} {unixOnly} {
list [catch {lsort [glob -dir globTest -types f *]} msg] $msg
} [list 0 [lsort [list \