summaryrefslogtreecommitdiffstats
path: root/tests/execute.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-03 15:32:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-03 15:32:46 (GMT)
commit8607752aa65f484ab844296ce90d2d2e5bfc2259 (patch)
tree645dfbaee93b71a5ba9a4458772d4b4719c83ae1 /tests/execute.test
parent3b0ee42270085b039b75e2e27a3a145399a1bfac (diff)
downloadtcl-8607752aa65f484ab844296ce90d2d2e5bfc2259.zip
tcl-8607752aa65f484ab844296ce90d2d2e5bfc2259.tar.gz
tcl-8607752aa65f484ab844296ce90d2d2e5bfc2259.tar.bz2
Case-sensitive package names
Diffstat (limited to 'tests/execute.test')
-rw-r--r--tests/execute.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/execute.test b/tests/execute.test
index daaad16..a29259d 100644
--- a/tests/execute.test
+++ b/tests/execute.test
@@ -20,7 +20,7 @@ if {"::tcltest" ni [namespace children]} {
}
::tcltest::loadTestedCommands
-catch [list package require -exact Tcltest [info patchlevel]]
+catch [list package require -exact tcl::test [info patchlevel]]
catch {namespace delete {*}[namespace children :: test_ns_*]}
catch {rename foo ""}
@@ -683,12 +683,12 @@ test execute-6.11 {Tcl_ExprObj: exprcode interp validation} -setup {
} -constraints testexprlongobj -body {
set e { [llength {}]+1 }
set result {}
- load {} Tcltest child
+ load {} tcl::test child
interp alias {} e child testexprlongobj
lappend result [e $e]
interp delete child
interp create child
- load {} Tcltest child
+ load {} tcl::test child
interp alias {} e child testexprlongobj
lappend result [e $e]
} -cleanup {
@@ -985,7 +985,7 @@ test execute-8.6 {Compile epoch bump in global level (bug [fa6bf38d07])} -setup
interp create child
child eval {
package require tcltest 2.5
- catch [list package require -exact Tcltest [info patchlevel]]
+ catch [list package require -exact tcl::test [info patchlevel]]
::tcltest::loadTestedCommands
if {[namespace which -command testbumpinterpepoch] eq ""} {
proc testbumpinterpepoch {} { rename ::set ::dummy; rename ::dummy ::set }
@@ -1018,7 +1018,7 @@ test execute-8.7 {Compile epoch bump in global level (bug [fa6bf38d07]), excepti
interp create child
child eval {
package require tcltest 2.5
- catch [list package require -exact Tcltest [info patchlevel]]
+ catch [list package require -exact tcl::test [info patchlevel]]
::tcltest::loadTestedCommands
if {[namespace which -command testbumpinterpepoch] eq ""} {
proc testbumpinterpepoch {} { rename ::set ::dummy; rename ::dummy ::set }