diff options
author | stanton <stanton> | 1999-02-03 02:58:40 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-02-03 02:58:40 (GMT) |
commit | 18cb0870c48ff94988c65661ecc3b38cbcdda304 (patch) | |
tree | 21ad86d7992bf55482e4cee778b38ceb6c5abca1 /tests | |
parent | 17481a9360ea758b106cce6d9ec42c575a877eb5 (diff) | |
download | tcl-18cb0870c48ff94988c65661ecc3b38cbcdda304.zip tcl-18cb0870c48ff94988c65661ecc3b38cbcdda304.tar.gz tcl-18cb0870c48ff94988c65661ecc3b38cbcdda304.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]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/interp.test | 12 |
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 |