summaryrefslogtreecommitdiffstats
path: root/tests/tm.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-25 13:42:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-25 13:42:11 (GMT)
commit2c327304a1fe9e05367e2845d7a53d7807325473 (patch)
treef52ff2b3681c317f970cc66b9656a920deaf0c2b /tests/tm.test
parent261bde3156d50771907d0e386439fd241874b9eb (diff)
parent13f90df6597eb8749645582c67de29865ea50950 (diff)
downloadtcl-2c327304a1fe9e05367e2845d7a53d7807325473.zip
tcl-2c327304a1fe9e05367e2845d7a53d7807325473.tar.gz
tcl-2c327304a1fe9e05367e2845d7a53d7807325473.tar.bz2
Merge 8.7
Diffstat (limited to 'tests/tm.test')
-rw-r--r--tests/tm.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tm.test b/tests/tm.test
index 567d351..001b73e 100644
--- a/tests/tm.test
+++ b/tests/tm.test
@@ -200,7 +200,7 @@ test tm-3.11 {tm: module path management, remove ignores unknown path} -setup {
proc genpaths {base} {
# Normalizing picks up drive letters on windows [Bug 1053568]
set base [file normalize $base]
- lassign [split [package present Tcl] .] major minor
+ regexp {^(\d+)\.(\d+)} [package provide Tcl] - major minor
set results {}
set base [file join $base tcl$major]
lappend results [file join $base site-tcl]