diff options
author | dgp <dgp@users.sourceforge.net> | 2013-08-14 17:02:41 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-08-14 17:02:41 (GMT) |
commit | 2916d083d8e80db13d25190cdc1534aad0cf67ad (patch) | |
tree | b4aed5d5734f1eb0636b86f7aacb63c84282073a /tests | |
parent | 420294d3ed2faf23f5b57ed32e1bf869c4f71b8f (diff) | |
download | tcl-2916d083d8e80db13d25190cdc1534aad0cf67ad.zip tcl-2916d083d8e80db13d25190cdc1534aad0cf67ad.tar.gz tcl-2916d083d8e80db13d25190cdc1534aad0cf67ad.tar.bz2 |
[a16752c252] Correct failure to call cmd deletion callbacks.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rename.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rename.test b/tests/rename.test index bd14578..cd90b55 100644 --- a/tests/rename.test +++ b/tests/rename.test @@ -135,6 +135,13 @@ test rename-4.7 {reentrancy issues with command deletion and renaming} testdel { if {[info exists env(value)]} { unset env(value) } +test rename-4.8 {Bug a16752c252} testdel { + set x broken + testdel {} foo {set x ok} + proc foo args {} + rename foo {} + return -level 0 $x[unset x] +} ok # Save the unknown procedure which is modified by the following test. |