diff options
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 |