summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2003-02-04 17:06:44 (GMT)
committervincentdarley <vincentdarley>2003-02-04 17:06:44 (GMT)
commit7d7c7570591f8383688fe05c69fdea70106a937e (patch)
treec50a993eca73882fec1db93099999bb362cc7278 /tests/io.test
parentadcc02b003f61baa6211d622e14acc3500be5327 (diff)
downloadtcl-7d7c7570591f8383688fe05c69fdea70106a937e.zip
tcl-7d7c7570591f8383688fe05c69fdea70106a937e.tar.gz
tcl-7d7c7570591f8383688fe05c69fdea70106a937e.tar.bz2
finalization and test fixes
Diffstat (limited to 'tests/io.test')
-rw-r--r--tests/io.test14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/io.test b/tests/io.test
index 648f5e7..465fc3b 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -12,7 +12,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: io.test,v 1.37 2002/07/30 18:36:26 andreas_kupries Exp $
+# RCS: @(#) $Id: io.test,v 1.38 2003/02/04 17:06:52 vincentdarley Exp $
if {[catch {package require tcltest 2}]} {
puts stderr "Skipping tests in [info script]. tcltest 2 required."
@@ -5531,12 +5531,12 @@ testConstraint testfevent [llength [info commands testfevent]]
test io-46.1 {Tcl event loop vs multiple interpreters} {testfevent} {
testfevent create
testfevent cmd [format {
- set f [open %s r]
- set x "no event"
- fileevent $f readable [namespace code {
- set x "f triggered: [gets $f]"
- fileevent $f readable {}
- }]
+ set f [open {%s} r]
+ set x "no event"
+ fileevent $f readable [namespace code {
+ set x "f triggered: [gets $f]"
+ fileevent $f readable {}
+ }]
} $path(foo)]
after 1 ;# We must delay because Windows takes a little time to notice
update