From 5756163396c8a9696cdcc3016e14df179b4f02a3 Mon Sep 17 00:00:00 2001 From: das Date: Sun, 17 Dec 2006 03:44:03 +0000 Subject: * tests/chan.test (chan-16.9): cleanup chan event handler to avoid causing error in event.test when running testsuite with -singleproc 1. --- tests/chan.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/chan.test b/tests/chan.test index 0132412..1108216 100644 --- a/tests/chan.test +++ b/tests/chan.test @@ -7,7 +7,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: chan.test,v 1.7 2006/12/01 19:13:35 dgp Exp $ +# RCS: @(#) $Id: chan.test,v 1.8 2006/12/17 03:44:03 das Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -153,6 +153,7 @@ test chan-16.9 {chan command: pending input subcommand} -setup { lappend ::chan-16.9-data [string range $data 0 2] lappend ::chan-16.9-data [string range $data end-2 end] set ::chan-16.9-done 1 + chan event $sock readable {} } else { after idle chan-16.9-client } -- cgit v0.12