summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordas <das>2006-12-17 03:44:03 (GMT)
committerdas <das>2006-12-17 03:44:03 (GMT)
commit5756163396c8a9696cdcc3016e14df179b4f02a3 (patch)
treea8530d353235e32fe59d6620b3517f4a957d85fd /tests
parente06fa0876f0bc04530c468706f93fc5f1f2b07f0 (diff)
downloadtcl-5756163396c8a9696cdcc3016e14df179b4f02a3.zip
tcl-5756163396c8a9696cdcc3016e14df179b4f02a3.tar.gz
tcl-5756163396c8a9696cdcc3016e14df179b4f02a3.tar.bz2
* tests/chan.test (chan-16.9): cleanup chan event handler to avoid
causing error in event.test when running testsuite with -singleproc 1.
Diffstat (limited to 'tests')
-rw-r--r--tests/chan.test3
1 files changed, 2 insertions, 1 deletions
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
}