diff options
author | dgp <dgp@users.sourceforge.net> | 2004-05-25 18:58:02 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-05-25 18:58:02 (GMT) |
commit | 4063b631058e6432a5dc992ba0194458e9727f8b (patch) | |
tree | 1a227a5c5d3aedecf2031d5ef99187f6716805b5 /tests/unload.test | |
parent | 7b34c540ec190b661e37418ef31a01ce24492fdb (diff) | |
download | tcl-4063b631058e6432a5dc992ba0194458e9727f8b.zip tcl-4063b631058e6432a5dc992ba0194458e9727f8b.tar.gz tcl-4063b631058e6432a5dc992ba0194458e9727f8b.tar.bz2 |
* tests/unload.test (unload-3.1): Verify [pkgb_sub] does not exist.
* tests/stringComp.test: stop re-use of string.test test names
* tests/regexpComp.test: stop re-use of regexp.test test names
* tests/namespace.test (namespace-46.3): Verify [p] does not exist.
Diffstat (limited to 'tests/unload.test')
-rw-r--r-- | tests/unload.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unload.test b/tests/unload.test index 69bbaec..a322c29 100644 --- a/tests/unload.test +++ b/tests/unload.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: unload.test,v 1.2 2004/03/17 18:14:18 das Exp $ +# RCS: @(#) $Id: unload.test,v 1.3 2004/05/25 18:58:05 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -109,6 +109,7 @@ child eval { } test unload-3.1 {basic loading of non-unloadable package in a safe interpreter, with package name conversion} \ [list $dll $loaded] { + catch {rename pkgb_sub {}} load [file join $testDir pkgb$ext] pKgB child list [child eval pkgb_sub 44 13] [catch {child eval pkgb_unsafe} msg] $msg \ [catch {pkgb_sub 12 10} msg2] $msg2 |