summaryrefslogtreecommitdiffstats
path: root/tests/unload.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-05-25 19:38:12 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-05-25 19:38:12 (GMT)
commit189bfa75c643b2ca02afef7fe20837322f2fc382 (patch)
treeaf753e6ebd2ab001b2977c2c88ac034d75871a6b /tests/unload.test
parent4063b631058e6432a5dc992ba0194458e9727f8b (diff)
downloadtcl-189bfa75c643b2ca02afef7fe20837322f2fc382.zip
tcl-189bfa75c643b2ca02afef7fe20837322f2fc382.tar.gz
tcl-189bfa75c643b2ca02afef7fe20837322f2fc382.tar.bz2
* tests/winPipe.test: Protect against path being set
* tests/unixInit.test: Unset path when done. * tests/unload.test (unload-3.1): Verify [pkgb_sub] does not exist. Delete interps when done.
Diffstat (limited to 'tests/unload.test')
-rw-r--r--tests/unload.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unload.test b/tests/unload.test
index a322c29..6cc0007 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.3 2004/05/25 18:58:05 dgp Exp $
+# RCS: @(#) $Id: unload.test,v 1.4 2004/05/25 19:38:16 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -214,5 +214,7 @@ test unload-4.6 {basic unloading of unloadable package from a safe interpreter,
} {{. {} {}} {} {} {. . .}}
# cleanup
+interp delete child
+interp delete child-trusted
::tcltest::cleanupTests
return