From ac3c3863608b65712752d23e59f4fcd85143aae1 Mon Sep 17 00:00:00 2001 From: dgp Date: Wed, 21 Nov 2001 17:37:49 +0000 Subject: * corrected test trace-8.8 for Bug 219393 --- ChangeLog | 2 ++ tests/trace.test | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 33e3858..f3fc7c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2001-11-21 Don Porter + * tests/trace.test (trace-8.8): Corrected test for Bug 219393. + * generic/tclBasic.c (Tcl_DeleteCommandFromToken,CallCommandTraces): * generic/tclCmdMZ>c (Tcl_UntraceCommand): Added Tcl_Preserve and Tcl_Release calls to prevent deletion of CommandTrace structures diff --git a/tests/trace.test b/tests/trace.test index f28b50e..d883008 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.12 2001/11/19 14:35:55 dkf Exp $ +# RCS: @(#) $Id: trace.test,v 1.13 2001/11/21 17:37:49 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -493,7 +493,7 @@ test trace-8.8 {error returns from traces} { } catch {unset ::x ::y} set x junk - trace add variable ::x write [list junk $x] + trace add variable ::x write [list foo $x] for {set y 0} {$y<100} {incr y} { catch {set x junk} } -- cgit v0.12