From 6fb095267920b841b7cbd592083cbad4c2ff1af0 Mon Sep 17 00:00:00 2001 From: patthoyts Date: Sun, 25 Jul 2004 22:06:21 +0000 Subject: * tests/io.test: Make io-61.1 create file as binary to pass on Win32 --- ChangeLog | 4 ++++ tests/io.test | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 22a49e2..af69981 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-07-25 Pat Thoyts + + * tests/io.test: Make io-61.1 create file as binary to pass on Win32 + 2004-07-23 Miguel Sofer * 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] -- cgit v0.12