diff options
author | Joe Mistachkin <joe@mistachkin.com> | 2015-06-05 19:59:59 (GMT) |
---|---|---|
committer | Joe Mistachkin <joe@mistachkin.com> | 2015-06-05 19:59:59 (GMT) |
commit | 0f3896176d1b6f8a8273e94fe6c1b65648731a4c (patch) | |
tree | 3318f7c256ac0bf3e6862abe805802937d5a4bc8 /tests | |
parent | 9cfa94b1daf1b9021ee224de86999c051313161d (diff) | |
parent | 2e307120931a7073a581e319769d14fdb657f534 (diff) | |
download | tcl-0f3896176d1b6f8a8273e94fe6c1b65648731a4c.zip tcl-0f3896176d1b6f8a8273e94fe6c1b65648731a4c.tar.gz tcl-0f3896176d1b6f8a8273e94fe6c1b65648731a4c.tar.bz2 |
Merge thread test typo fixes from trunk.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/thread.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/thread.test b/tests/thread.test index ee09020..cc4c871 100644 --- a/tests/thread.test +++ b/tests/thread.test @@ -564,7 +564,7 @@ test thread-7.14 {cancel: vwait} -constraints {thread drainEventQueue} -setup { unset -nocomplain ::threadSawError ::threadError ::threadId ::threadIdStarted } -body { set serverthread [thread::create -joinable \ - [string map [list %ID [thread::id]] { + [string map [list %ID% [thread::id]] { if {![info exists foo]} then { # signal the primary thread that we are ready # to be canceled now (we are running). @@ -616,7 +616,7 @@ test thread-7.16 {cancel: expr} -constraints {thread drainEventQueue} -setup { unset -nocomplain ::threadSawError ::threadError ::threadId ::threadIdStarted } -body { set serverthread [thread::create -joinable \ - [string map [list %ID [thread::id]] { + [string map [list %ID% [thread::id]] { set i [interp create] $i eval "package require -exact Thread [package present Thread]" $i eval { @@ -1372,7 +1372,7 @@ test thread-7.37 {cancel: send async thread cancel nested catch inside pure insi unset -nocomplain ::threadSawError ::threadError ::threadId ::threadIdStarted } -body { set serverthread [thread::create -joinable \ - [string map [list %ID [thread::id]] { + [string map [list %ID% [thread::id]] { proc foobar {} { set catch catch set while while |