summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/fileName.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fileName.test b/tests/fileName.test
index 2eeab6e..04273d7 100644
--- a/tests/fileName.test
+++ b/tests/fileName.test
@@ -1063,10 +1063,10 @@ test filename-11.45 {Tcl_GlobCmd on root volume} -setup {
set tmpd [pwd]
} -body {
catch {
- set res1 [glob -dir [lindex [file volumes] end-1] -tails *]
+ set res1 [glob -dir [lindex [file volumes] end] -tails *]
}
catch {
- cd [lindex [file volumes] end-1]
+ cd [lindex [file volumes] end]
set res2 [glob *]
}
list $res1 $res2