summaryrefslogtreecommitdiffstats
path: root/tests/interp.test
diff options
context:
space:
mode:
authorstanton <stanton@noemail.net>1999-02-03 02:58:39 (GMT)
committerstanton <stanton@noemail.net>1999-02-03 02:58:39 (GMT)
commitc6871bce6772b4517033362dcbe1efb43a6f8ef2 (patch)
tree21ad86d7992bf55482e4cee778b38ceb6c5abca1 /tests/interp.test
parent70ee17b4ed302454cf9a52ae11a41d3873d24eff (diff)
downloadtcl-c6871bce6772b4517033362dcbe1efb43a6f8ef2.zip
tcl-c6871bce6772b4517033362dcbe1efb43a6f8ef2.tar.gz
tcl-c6871bce6772b4517033362dcbe1efb43a6f8ef2.tar.bz2
* tests/interp.test:
* generic/tclInterp.c (DeleteAlias): Changed to use Tcl_DeleteCommandFromToken so we handle renames properly. This avoids senseless panic. [Bug: 736] FossilOrigin-Name: 501d236e856a71d13de0b556606e47288da43f51
Diffstat (limited to 'tests/interp.test')
-rw-r--r--tests/interp.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/interp.test b/tests/interp.test
index 8b77842..da0c433 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.5 1998/11/02 23:04:14 stanton Exp $
+# RCS: @(#) $Id: interp.test,v 1.6 1999/02/03 02:58:41 stanton Exp $
if {[string compare test [info procs test]] == 1} then {source defs}
@@ -2258,11 +2258,11 @@ test interp-29.2 {recursion limit inheritance} {
}
# This test dumps core in Tcl 8.0.3!
-#test interp-30.1 {deletion of aliases inside namespaces} {
-# set i [interp create]
-# $i alias ns::cmd list
-# $i alias ns::cmd {}
-#} {}
+test interp-30.1 {deletion of aliases inside namespaces} {
+ set i [interp create]
+ $i alias ns::cmd list
+ $i alias ns::cmd {}
+} {}
foreach i [interp slaves] {
interp delete $i