diff options
Diffstat (limited to 'tests/http.test')
-rw-r--r-- | tests/http.test | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/http.test b/tests/http.test index 8eac3c3..7454ab8 100644 --- a/tests/http.test +++ b/tests/http.test @@ -11,15 +11,17 @@ # See the file "license.terms" for information on usage and redistribution of # this file, and for a DISCLAIMER OF ALL WARRANTIES. -package require tcltest 2 -namespace import -force ::tcltest::* +if {"::tcltest" ni [namespace children]} { + package require tcltest 2.5 + namespace import -force ::tcltest::* +} if {[catch {package require http 2} version]} { if {[info exists http2]} { catch {puts "Cannot load http 2.* package"} return } else { - catch {puts "Running http 2.* tests in slave interp"} + catch {puts "Running http 2.* tests in child interp"} set interp [interp create http2] $interp eval [list set http2 "running"] $interp eval [list set argv $argv] |