summaryrefslogtreecommitdiffstats
path: root/tests/tm.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-01-30 18:58:37 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-01-30 18:58:37 (GMT)
commit3ac002a666fce71f19f025288d9e18c0819bb91a (patch)
tree0bf3ad72dc599167e49c1f6917fd1fb260a7749e /tests/tm.test
parent3475ea5378a063cc71bc3c0e35ae338c31d0426f (diff)
downloadtcl-3ac002a666fce71f19f025288d9e18c0819bb91a.zip
tcl-3ac002a666fce71f19f025288d9e18c0819bb91a.tar.gz
tcl-3ac002a666fce71f19f025288d9e18c0819bb91a.tar.bz2
For [package] etc., select modernizations from Patrick Fradin.
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 f6c9a68..3f93483 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]
- foreach {major minor} [split [info tclversion] .] break
+ lassign [split [package present Tcl] .] major minor
set results {}
set base [file join $base tcl$major]
lappend results [file join $base site-tcl]