diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2004-07-25 22:06:21 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2004-07-25 22:06:21 (GMT) |
commit | 6fb095267920b841b7cbd592083cbad4c2ff1af0 (patch) | |
tree | 913d1c1ef8869bce77d4f627aaeb562ede2ba612 | |
parent | 743d7b0174ab03d41ce1756d82f010973999b7ad (diff) | |
download | tcl-6fb095267920b841b7cbd592083cbad4c2ff1af0.zip tcl-6fb095267920b841b7cbd592083cbad4c2ff1af0.tar.gz tcl-6fb095267920b841b7cbd592083cbad4c2ff1af0.tar.bz2 |
* tests/io.test: Make io-61.1 create file as binary to pass on Win32
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | tests/io.test | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2004-07-25 Pat Thoyts <patthoyts@users.sourceforge.net> + + * tests/io.test: Make io-61.1 create file as binary to pass on Win32 + 2004-07-23 Miguel Sofer <msofer@users.sf.net> * generic/tclVar.c: simplify tclLocalVarNameType, removing the diff --git a/tests/io.test b/tests/io.test index bcf17bb..8f881b4 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.59 2004/07/23 15:58:40 dgp Exp $ +# RCS: @(#) $Id: io.test,v 1.60 2004/07/25 22:06:21 patthoyts Exp $ if {[catch {package require tcltest 2}]} { puts stderr "Skipping tests in [info script]. tcltest 2 required." @@ -7102,6 +7102,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] |