summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-04-30 15:31:42 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-04-30 15:31:42 (GMT)
commit92ce12cc4323baacdfbfb8144531e604daeafeb3 (patch)
tree7178732d83003dff66dc871c941f5f5bbbf24d0a
parent91d8b690743023fbbb0a4599c11f20d87bb1ef69 (diff)
parent1754a9a311a61dc8c9af0d29768142e2381ae197 (diff)
downloadtcl-92ce12cc4323baacdfbfb8144531e604daeafeb3.zip
tcl-92ce12cc4323baacdfbfb8144531e604daeafeb3.tar.gz
tcl-92ce12cc4323baacdfbfb8144531e604daeafeb3.tar.bz2
test portability
-rw-r--r--tests/io.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/io.test b/tests/io.test
index dc98001..6b6ad6d 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -7409,6 +7409,7 @@ test io-53.4.1 {Bug 894da183c8} {stdio fcopy} {
puts $f1 {
puts ready
set f [open io-53.4.1 w]
+ chan configure $f -translation lf
fcopy stdin $f -command { set x }
vwait x
close $f
@@ -7417,7 +7418,7 @@ test io-53.4.1 {Bug 894da183c8} {stdio fcopy} {
close $f1
set f1 [open "|[list [interpreter] $path(pipe)]" r+]
set result [gets $f1]
- fconfigure $f1 -blocking 0 -buffersize 125000
+ fconfigure $f1 -blocking 0 -buffersize 125000 -translation lf
puts $f1 $big
fconfigure $f1 -blocking 1
close $f1