summaryrefslogtreecommitdiffstats
path: root/tests/basic.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-06-27 17:29:20 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-06-27 17:29:20 (GMT)
commit508902e0fee4e8981302823b171f4fb6ddb7f50d (patch)
treedc54a77e597ad6a8cdc37faa23c9ba1a796d2660 /tests/basic.test
parenta384f578db158e03a8216ded58a85f751f9bc2a4 (diff)
downloadtcl-508902e0fee4e8981302823b171f4fb6ddb7f50d.zip
tcl-508902e0fee4e8981302823b171f4fb6ddb7f50d.tar.gz
tcl-508902e0fee4e8981302823b171f4fb6ddb7f50d.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/basic.test')
-rw-r--r--tests/basic.test6
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
} {}