diff options
author | dgp <dgp@users.sourceforge.net> | 2007-06-27 17:29:20 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-06-27 17:29:20 (GMT) |
commit | e03ab536a8acc7cb7d240c3a54ea78eb1d596d35 (patch) | |
tree | dc54a77e597ad6a8cdc37faa23c9ba1a796d2660 /tests | |
parent | 5ca29050c7eb4e25cdae6a2d6f9b197e3f32a1b5 (diff) | |
download | tcl-e03ab536a8acc7cb7d240c3a54ea78eb1d596d35.zip tcl-e03ab536a8acc7cb7d240c3a54ea78eb1d596d35.tar.gz tcl-e03ab536a8acc7cb7d240c3a54ea78eb1d596d35.tar.bz2 |
* generic/tclCmdMZ.c: Corrected broken trace reversal logic in
* generic/tclTest.c: TclCheckInterpTraces that led to infinite loop
* tests/basic.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/basic.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/basic.test b/tests/basic.test index 0a995ba..b267c16 100644 --- a/tests/basic.test +++ b/tests/basic.test @@ -15,7 +15,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: basic.test,v 1.25.2.7 2005/03/18 16:33:43 dgp Exp $ +# RCS: @(#) $Id: basic.test,v 1.25.2.8 2007/06/27 17:29:24 dgp Exp $ # package require tcltest 2 @@ -564,6 +564,10 @@ test basic-39.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 basic-39.11 {Tcl_CreateTrace, multiple traces} {testcmdtrace} { + testcmdtrace doubletest {format xx} +} {{format xx} {format xx}} + test basic-40.1 {Tcl_DeleteTrace} {emptyTest} { # the above tests have tested Tcl_DeleteTrace } {} |