summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley@noemail.net>2003-02-04 17:06:43 (GMT)
committervincentdarley <vincentdarley@noemail.net>2003-02-04 17:06:43 (GMT)
commit730067510efff07452b36736e70d871f2af30738 (patch)
treec50a993eca73882fec1db93099999bb362cc7278 /tests/io.test
parentfdff499a2a77365a13406100607235349f0763d8 (diff)
downloadtcl-730067510efff07452b36736e70d871f2af30738.zip
tcl-730067510efff07452b36736e70d871f2af30738.tar.gz
tcl-730067510efff07452b36736e70d871f2af30738.tar.bz2
finalization and test fixes
FossilOrigin-Name: 1bf7a8241117b168c3fb8a4ed4398c3f1317b2fa
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