summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-12-29 17:47:50 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-12-29 17:47:50 (GMT)
commitdaa36e9a1bc07b908f1f3fdb5e9fe52b699047e5 (patch)
tree797ecce2b7bd0230aca115b71f4c13bbeb8fe66d /tests
parentb0898beca68aa150062cb6eacc8daee6e6490f55 (diff)
downloadtcl-daa36e9a1bc07b908f1f3fdb5e9fe52b699047e5.zip
tcl-daa36e9a1bc07b908f1f3fdb5e9fe52b699047e5.tar.gz
tcl-daa36e9a1bc07b908f1f3fdb5e9fe52b699047e5.tar.bz2
Use http 2 instead of http 1 for Safe Base testing.
Diffstat (limited to 'tests')
-rw-r--r--tests/safe.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/safe.test b/tests/safe.test
index 33ee166..df60de6 100644
--- a/tests/safe.test
+++ b/tests/safe.test
@@ -180,17 +180,17 @@ test safe-6.3 {test safe interpreters knowledge of the world} {
# leaking infos, but they still do...
# high level general test
-test safe-7.1 {tests that everything works at high level} {
+test safe-7.1 {tests that everything works at high level} -body {
set i [safe::interpCreate]
# no error shall occur:
# (because the default access_path shall include 1st level sub dirs so
# package require in a slave works like in the master)
- set v [interp eval $i {package require http 1}]
+ set v [interp eval $i {package require http 2}]
# no error shall occur:
- interp eval $i {http_config}
+ interp eval $i {http::config}
safe::interpDelete $i
set v
-} 1.0
+} -match glob -result 2.*
test safe-7.2 {tests specific path and interpFind/AddToAccessPath} -body {
set i [safe::interpCreate -nostat -nested 1 -accessPath [list [info library]]]
# should not add anything (p0)