diff options
author | dgp <dgp@users.sourceforge.net> | 2007-08-14 15:17:49 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-08-14 15:17:49 (GMT) |
commit | a12413b73ce0aa902e7ee0c7b345102eb2d98b8b (patch) | |
tree | 256323321dac21f9918d26c421248ca015e841a6 /tests/thread.test | |
parent | 15e35c4d94b77542e2c32ff52ad370a9ef5008a3 (diff) | |
download | tcl-a12413b73ce0aa902e7ee0c7b345102eb2d98b8b.zip tcl-a12413b73ce0aa902e7ee0c7b345102eb2d98b8b.tar.gz tcl-a12413b73ce0aa902e7ee0c7b345102eb2d98b8b.tar.bz2 |
* generic/tclBasic.c: Use fully qualified variable names for
* tests/thread.test: ::errorInfo and ::errorCode so that string
* tests/trace.test: reported to variable traces are fully
qualified in agreement with Tcl 8.4 operations.
Diffstat (limited to 'tests/thread.test')
-rw-r--r-- | tests/thread.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/thread.test b/tests/thread.test index 1084f5c..09c2edb 100644 --- a/tests/thread.test +++ b/tests/thread.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: thread.test,v 1.15 2006/10/09 19:15:45 msofer Exp $ +# RCS: @(#) $Id: thread.test,v 1.16 2007/08/14 15:17:50 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -195,7 +195,8 @@ test thread-4.4 {TclThreadSend preserve code} {testthread} { threadReap set len [llength [testthread names]] set serverthread [testthread create] - set x [catch {testthread send $serverthread {set ::errorInfo {}; break}} msg] + set ::errorInfo {} + set x [catch {testthread send $serverthread {break}} msg] threadReap list $len $x $msg $::errorInfo } {1 3 {} {}} |