diff options
author | das <das> | 2008-04-08 23:16:02 (GMT) |
---|---|---|
committer | das <das> | 2008-04-08 23:16:02 (GMT) |
commit | 712e8111093149680388ac32ee90b21290554bb3 (patch) | |
tree | 23afadca6404131158727bc696e9567989decd67 /tests/chanio.test | |
parent | 03b825deba94040867c2e1a61ab935abcba9d675 (diff) | |
download | tcl-712e8111093149680388ac32ee90b21290554bb3.zip tcl-712e8111093149680388ac32ee90b21290554bb3.tar.gz tcl-712e8111093149680388ac32ee90b21290554bb3.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
Diffstat (limited to 'tests/chanio.test')
-rw-r--r-- | tests/chanio.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/chanio.test b/tests/chanio.test index b4287f5..0526f65 100644 --- a/tests/chanio.test +++ b/tests/chanio.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: chanio.test,v 1.3.2.5 2008/04/07 22:49:18 andreas_kupries Exp $ +# RCS: @(#) $Id: chanio.test,v 1.3.2.6 2008/04/08 23:16:04 das Exp $ if {[catch {package require tcltest 2}]} { chan puts stderr "Skipping tests in [info script]. tcltest 2 required." @@ -6911,7 +6911,7 @@ test chan-io-53.8 {CopyData: async callback and error handling, Bug 1932639} -se # Run the copy. Should not invoke -command now. chan copy $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 chan-io-53.8 {CopyData: async callback and error handling, Bug 1932639} -se test chan-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+] chan configure $pipe -translation binary -buffering line chan puts $pipe { chan configure stdout -translation binary -buffering line @@ -6984,7 +6984,7 @@ test chan-io-53.9 {CopyData: -size and event interaction, Bug 780533} -setup { } -result OK test chan-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+] chan configure $pipe -translation binary -buffering line chan puts $pipe { chan configure stderr -buffering line |