summaryrefslogtreecommitdiffstats
path: root/tests/interp.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-12-08 21:15:20 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-12-08 21:15:20 (GMT)
commitb2e05bbf5179cd62e79db42bb597becc3340914a (patch)
tree7a53bc54bd5794e825dbb6ea8aff708a903fac3e /tests/interp.test
parentc63800fafacdbb36b826ca84d62559fda1c77485 (diff)
downloadtcl-b2e05bbf5179cd62e79db42bb597becc3340914a.zip
tcl-b2e05bbf5179cd62e79db42bb597becc3340914a.tar.gz
tcl-b2e05bbf5179cd62e79db42bb597becc3340914a.tar.bz2
Forgot to adjust tests to take into account safeness of [unload]
Diffstat (limited to 'tests/interp.test')
-rw-r--r--tests/interp.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/interp.test b/tests/interp.test
index d55ac73..88697f9 100644
--- a/tests/interp.test
+++ b/tests/interp.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: interp.test,v 1.51 2006/11/03 00:34:52 hobbs Exp $
+# RCS: @(#) $Id: interp.test,v 1.52 2007/12/08 21:15:20 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
@@ -19,7 +19,7 @@ if {[lsearch [namespace children] ::tcltest] == -1} {
testConstraint testinterpdelete [llength [info commands testinterpdelete]]
-set hidden_cmds {cd encoding exec exit fconfigure file glob load open pwd socket source}
+set hidden_cmds {cd encoding exec exit fconfigure file glob load open pwd socket source unload}
foreach i [interp slaves] {
interp delete $i
@@ -1795,7 +1795,7 @@ test interp-23.2 {testing hiding vs aliases} {unixOrPc} {
lappend l [lsort [interp hidden a]]
interp delete a
set l
-} {{cd encoding exec exit fconfigure file glob load open pwd socket source} {bar clock} {cd encoding exec exit fconfigure file glob load open pwd socket source} {bar clock} {bar cd encoding exec exit fconfigure file glob load open pwd socket source} clock {cd encoding exec exit fconfigure file glob load open pwd socket source}}
+} {{cd encoding exec exit fconfigure file glob load open pwd socket source unload} {bar clock} {cd encoding exec exit fconfigure file glob load open pwd socket source unload} {bar clock} {bar cd encoding exec exit fconfigure file glob load open pwd socket source unload} clock {cd encoding exec exit fconfigure file glob load open pwd socket source unload}}
test interp-24.1 {result resetting on error} {
catch {interp delete a}