summaryrefslogtreecommitdiffstats
path: root/tests/winFile.test
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2018-11-22 13:58:37 (GMT)
committersebres <sebres@users.sourceforge.net>2018-11-22 13:58:37 (GMT)
commitfb0f0b6c373000a8893904c0eea7580fdc902d20 (patch)
tree894d2a54a48709df36b07da83c8ccc7bfa9115cf /tests/winFile.test
parente537ff7be6133bfccde0c8e2de74610d17c0e94f (diff)
parente4f3ce78e3bd0c816cb0a5377ab66a42f9eb7552 (diff)
downloadtcl-fb0f0b6c373000a8893904c0eea7580fdc902d20.zip
tcl-fb0f0b6c373000a8893904c0eea7580fdc902d20.tar.gz
tcl-fb0f0b6c373000a8893904c0eea7580fdc902d20.tar.bz2
merge 8.5: fixes segfault [7a9dc52b29] and wrong normalization (inside TclJoinPath) for pure relative path-segments; test-cases extended and several windows-related are fixed.
Diffstat (limited to 'tests/winFile.test')
-rw-r--r--tests/winFile.test7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/winFile.test b/tests/winFile.test
index 2c47f5f..eb6addd 100644
--- a/tests/winFile.test
+++ b/tests/winFile.test
@@ -43,13 +43,14 @@ test winFile-1.4 {TclpGetUserHome} {win nt nonPortable} {
test winFile-2.1 {TclpMatchFiles: case sensitivity} -constraints {win} -body {
makeFile {} GlobCapS
- list [glob -nocomplain GlobC*] [glob -nocomplain globc*]
-} -cleanup {
+ set args [list -nocomplain -tails -directory [temporaryDirectory]]
+ list [glob {*}$args GlobC*] [glob {*}$args globc*]} -cleanup {
removeFile GlobCapS
} -result {GlobCapS GlobCapS}
test winFile-2.2 {TclpMatchFiles: case sensitivity} -constraints {win} -body {
makeFile {} globlower
- list [glob -nocomplain globl*] [glob -nocomplain gLOBl*]
+ set args [list -nocomplain -tails -directory [temporaryDirectory]]
+ list [glob {*}$args globl*] [glob {*}$args gLOBl*]
} -cleanup {
removeFile globlower
} -result {globlower globlower}