summaryrefslogtreecommitdiffstats
path: root/tests/ioCmd.test
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2008-04-15 18:31:00 (GMT)
committerandreas_kupries <akupries@shaw.ca>2008-04-15 18:31:00 (GMT)
commitbc5dab9966108ba8082e389fc4a42e060cce440e (patch)
tree47b7f0cb5e199796391f1815fe3338f47f492d86 /tests/ioCmd.test
parentc8c10de926e7c958c17e8898fc18d2ca1ad50cf7 (diff)
downloadtcl-bc5dab9966108ba8082e389fc4a42e060cce440e.zip
tcl-bc5dab9966108ba8082e389fc4a42e060cce440e.tar.gz
tcl-bc5dab9966108ba8082e389fc4a42e060cce440e.tar.bz2
* generic/tclIO.c (CopyData): Applied another patch by Alexandre
* io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>, to shift EOF handling to the async part of the command if a callback is specified, should the channel be at EOF already when fcopy is called. Testcase by myself.
Diffstat (limited to 'tests/ioCmd.test')
-rw-r--r--tests/ioCmd.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ioCmd.test b/tests/ioCmd.test
index aa7fd1e..f4d45e4 100644
--- a/tests/ioCmd.test
+++ b/tests/ioCmd.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: ioCmd.test,v 1.16.2.5 2008/04/10 20:53:49 andreas_kupries Exp $
+# RCS: @(#) $Id: ioCmd.test,v 1.16.2.6 2008/04/15 18:31:04 andreas_kupries Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -578,6 +578,7 @@ test iocmd-15.12 {Tcl_FcopyObjCmd} {fcopy} {
list [catch {fcopy $rfile $wfile -command bar -size foo} msg] $msg
} {1 {expected integer but got "foo"}}
+
close $rfile
close $wfile