diff options
author | dgp <dgp@users.sourceforge.net> | 2007-06-27 18:21:52 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-06-27 18:21:52 (GMT) |
commit | f0da4e55104381d0a8bf98a2c3dfc4848efc1b3d (patch) | |
tree | ab1c0c3edd37a49f30dbb627b0eac08a8d9cebce /tests | |
parent | 1b530b0a0e25372430b74d7be4881caa02529f3d (diff) | |
download | tcl-f0da4e55104381d0a8bf98a2c3dfc4848efc1b3d.zip tcl-f0da4e55104381d0a8bf98a2c3dfc4848efc1b3d.tar.gz tcl-f0da4e55104381d0a8bf98a2c3dfc4848efc1b3d.tar.bz2 |
* generic/tclTrace.c: Corrected broken trace reversal logic in
* generic/tclTest.c: TclCheckInterpTraces that led to infinite loop
* tests/trace.test: when multiple Tcl_CreateTrace traces were set
and one of them did not fire due to level restrictions. [Bug 1743931].
Diffstat (limited to 'tests')
-rw-r--r-- | tests/trace.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/trace.test b/tests/trace.test index 47de94f..a736228 100644 --- a/tests/trace.test +++ b/tests/trace.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: trace.test,v 1.55 2007/06/21 17:45:40 msofer Exp $ +# RCS: @(#) $Id: trace.test,v 1.56 2007/06/27 18:21:52 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -2306,6 +2306,10 @@ test trace-29.10 {Tcl_CreateTrace, correct level interpretation} {testcmdtrace} testcmdtrace leveltest {foo} } {foo {foo} {uplevel 1 bar} {uplevel 1 bar} bar {bar} {uplevel 1 grok} {uplevel 1 grok}} +test trace-29.11 {Tcl_CreateTrace, multiple traces} {testcmdtrace} { + testcmdtrace doubletest {format xx} +} {{format xx} {format xx}} + test trace-30.1 {Tcl_DeleteTrace} {emptyTest} { # the above tests have tested Tcl_DeleteTrace } {} |