diff options
author | hobbs <hobbs@noemail.net> | 2004-07-26 21:39:40 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2004-07-26 21:39:40 (GMT) |
commit | d11105ec56b57747e25fb17a1f0f30b75cf2ead4 (patch) | |
tree | cdd647484af0d27d8d2ff4eb2deab8bbbc70808b /tests/io.test | |
parent | 4d2b3ebe8a6d47cd00212faec4921e11d38631a4 (diff) | |
download | tcl-d11105ec56b57747e25fb17a1f0f30b75cf2ead4.zip tcl-d11105ec56b57747e25fb17a1f0f30b75cf2ead4.tar.gz tcl-d11105ec56b57747e25fb17a1f0f30b75cf2ead4.tar.bz2 |
(io-61.1): create file in binary mode for x-platcore-8-4-7
FossilOrigin-Name: 5c5e78c14f79c9fbf7101e2643187229e689364f
Diffstat (limited to 'tests/io.test')
-rw-r--r-- | tests/io.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/io.test b/tests/io.test index 242b949..a529e61 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.40.2.5 2004/07/23 16:00:58 dgp Exp $ +# RCS: @(#) $Id: io.test,v 1.40.2.6 2004/07/26 21:39:42 hobbs Exp $ if {[catch {package require tcltest 2}]} { puts stderr "Skipping tests in [info script]. tcltest 2 required." @@ -7111,6 +7111,7 @@ test io-60.1 {writing illegal utf sequences} {openpipe fileevent} { test io-61.1 {Reset eof state after changing the eof char} -setup { set datafile [makeFile {} eofchar] set f [open $datafile w] + fconfigure $f -translation binary puts -nonewline $f [string repeat "Ho hum\n" 11] puts $f = set line [string repeat "Ge gla " 4] |