diff options
author | dgp <dgp@users.sourceforge.net> | 2018-01-11 14:15:18 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2018-01-11 14:15:18 (GMT) |
commit | d500f5270d6d753d61be4b2d54809413547f94fe (patch) | |
tree | b82a2c9611a9b4611504af8797582ecd97fc8477 /tests | |
parent | 47a2b686d0b4974a0048759f62801f3d8f65ba5d (diff) | |
parent | d34c6b6526e8bb7c96736c2ef47422357e68c8d9 (diff) | |
download | tcl-d500f5270d6d753d61be4b2d54809413547f94fe.zip tcl-d500f5270d6d753d61be4b2d54809413547f94fe.tar.gz tcl-d500f5270d6d753d61be4b2d54809413547f94fe.tar.bz2 |
merge trunk
Diffstat (limited to 'tests')
-rw-r--r-- | tests/oo.test | 9 | ||||
-rw-r--r-- | tests/safe.test | 8 |
2 files changed, 7 insertions, 10 deletions
diff --git a/tests/oo.test b/tests/oo.test index a8257fd..3be5f79 100644 --- a/tests/oo.test +++ b/tests/oo.test @@ -47,7 +47,7 @@ test oo-0.2 {basic test of OO's ability to clean up its initial state} { } {} test oo-0.3 {basic test of OO's ability to clean up its initial state} -body { leaktest { - [oo::object new] destroy + [oo::object new] destroy } } -constraints memory -result 0 test oo-0.4 {basic test of OO's ability to clean up its initial state} -body { @@ -1518,9 +1518,9 @@ test oo-11.6 { # No segmentation fault return done -} -cleanup { +} -result done -cleanup { rename obj1 {} -} -result done +} test oo-12.1 {OO: filters} { oo::class create Aclass @@ -3895,9 +3895,6 @@ test oo-35.6 { rename obj {} } -result done - - - test oo-36.1 {TIP #470: introspection within oo::define} { oo::define oo::object self } ::oo::object 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) |