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 | a2400fbe30f602e19fbeb74a5c6df7fc0e220699 (patch) | |
tree | b4aed5d5734f1eb0636b86f7aacb63c84282073a /tests | |
parent | 97eb71a62940a86f2a09ab817dc389f1c42de9d1 (diff) | |
download | tcl-a2400fbe30f602e19fbeb74a5c6df7fc0e220699.zip tcl-a2400fbe30f602e19fbeb74a5c6df7fc0e220699.tar.gz tcl-a2400fbe30f602e19fbeb74a5c6df7fc0e220699.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. |