summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/io.test')
-rw-r--r--tests/io.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/io.test b/tests/io.test
index 2f97129..b8af0f3 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.52 2004/05/25 18:06:26 dgp Exp $
+# RCS: @(#) $Id: io.test,v 1.53 2004/05/25 18:14:33 dgp Exp $
if {[catch {package require tcltest 2}]} {
puts stderr "Skipping tests in [info script]. tcltest 2 required."
@@ -7103,6 +7103,7 @@ set datafile [file join $::tcltest::testsDirectory eofchar.data]
test io-61.1 {Reset eof state after changing the eof char} {
set f [open $datafile r]
fconfigure $f -eofchar =
+ set res {}
lappend res [read $f; tell $f]
fconfigure $f -eofchar {}
lappend res [read $f 1]