summaryrefslogtreecommitdiffstats
path: root/tests/tm.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-17 22:14:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-17 22:14:48 (GMT)
commit7aaa5a8d0f666904afeda3e995fb46a33122a2de (patch)
tree6e055c25af5ac8ae9a3e794d2daf45272a60f615 /tests/tm.test
parenta87c2925c5ff1caf3a88c8a249aae82699d7f5a0 (diff)
parent34480654e98d2543e4d9a16e4cd5cbcc5630b604 (diff)
downloadtcl-better_deprecation.zip
tcl-better_deprecation.tar.gz
tcl-better_deprecation.tar.bz2
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 149a65d..1b22f8c 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]