diff options
Diffstat (limited to 'tests/io.test')
-rw-r--r-- | tests/io.test | 14 |
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 |