summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2015-06-04 20:49:11 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2015-06-04 20:49:11 (GMT)
commitb56bbbb5de64f038ea17023cc8aa5afff73bbb10 (patch)
tree2b65e9c9640f7aa6860c2441a76daddf828865a2 /tests
parent256df5a086b18e57f87787a7e23389d8d8e308cd (diff)
parentf3337d5804891dde384cbc16b853b551ce5187d0 (diff)
downloadtcl-b56bbbb5de64f038ea17023cc8aa5afff73bbb10.zip
tcl-b56bbbb5de64f038ea17023cc8aa5afff73bbb10.tar.gz
tcl-b56bbbb5de64f038ea17023cc8aa5afff73bbb10.tar.bz2
Merge updates from trunk.
Diffstat (limited to 'tests')
-rw-r--r--tests/execute.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/execute.test b/tests/execute.test
index 94af158..aaf4bc0 100644
--- a/tests/execute.test
+++ b/tests/execute.test
@@ -1043,6 +1043,20 @@ test execute-11.1 {Bug 3142026: GrowEvaluationStack off-by-one} -setup {
} -cleanup {
interp delete slave
} -result ok
+
+test execute-11.2 {Bug 268b23df11} -setup {
+ proc zero {} {return 0}
+ proc crash {} {expr {abs([zero])}}
+ proc noop args {}
+ trace add execution crash enterstep noop
+} -body {
+ crash
+} -cleanup {
+ trace remove execution crash enterstep noop
+ rename noop {}
+ rename crash {}
+ rename zero {}
+} -result 0
# cleanup
if {[info commands testobj] != {}} {