summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
authordas <das@noemail.net>2008-04-08 23:15:57 (GMT)
committerdas <das@noemail.net>2008-04-08 23:15:57 (GMT)
commit4c2579575613f73c820374dd759840482c22f60e (patch)
treef195693a297e72a0e8d7dff49f8ae64b89d76ec8 /tests/io.test
parent5a97f0d949c5b241391597b747345f25d4936d62 (diff)
downloadtcl-4c2579575613f73c820374dd759840482c22f60e.zip
tcl-4c2579575613f73c820374dd759840482c22f60e.tar.gz
tcl-4c2579575613f73c820374dd759840482c22f60e.tar.bz2
* tests/chanio.test (chan-io-53.8,53.9,53.10): fix typo & quoting for
* tests/io.test (io-53.8,53.9,53.10): spaces in builddir path FossilOrigin-Name: 786bc32e7b3d06650baac2a55acbb8f5862855e6
Diffstat (limited to 'tests/io.test')
-rw-r--r--tests/io.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/io.test b/tests/io.test
index d6ea6c4..084723a 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -13,7 +13,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.84 2008/04/07 22:53:09 andreas_kupries Exp $
+# RCS: @(#) $Id: io.test,v 1.85 2008/04/08 23:16:00 das Exp $
if {[catch {package require tcltest 2}]} {
puts stderr "Skipping tests in [info script]. tcltest 2 required."
@@ -6911,7 +6911,7 @@ test io-53.8 {CopyData: async callback and error handling, Bug 1932639} -setup {
# Run the copy. Should not invoke -command now.
fcopy $f $g -size 2 -command ::cmd
# Check that -command was not called synchronously
- set sbs [file size bar]
+ set sbs [file size $bar]
lappend ::RES [expr {($sbs > 0) ? "sync/FAIL" : "sync/OK"}] $sbs
# Now let the async part happen. Should capture the error in cmd
# via bgerror. If not break the event loop via timer.
@@ -6936,7 +6936,7 @@ test io-53.8 {CopyData: async callback and error handling, Bug 1932639} -setup {
test io-53.9 {CopyData: -size and event interaction, Bug 780533} -setup {
set out [makeFile {} out]
set err [makeFile {} err]
- set pipe [open "|[info nameofexecutable] 2> $err" r+]
+ set pipe [open "|[list [info nameofexecutable] 2> $err]" r+]
fconfigure $pipe -translation binary -buffering line
puts $pipe {
fconfigure stdout -translation binary -buffering line
@@ -6983,7 +6983,7 @@ test io-53.9 {CopyData: -size and event interaction, Bug 780533} -setup {
} -result OK
test io-53.10 {Bug 1350564, multi-directional fcopy} -setup {
set err [makeFile {} err]
- set pipe [open "|[info nameofexecutable] 2> $err" r+]
+ set pipe [open "|[list [info nameofexecutable] 2> $err]" r+]
fconfigure $pipe -translation binary -buffering line
puts $pipe {
fconfigure stderr -buffering line