summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-10-28 00:00:44 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-10-28 00:00:44 (GMT)
commiteb3bdd1436d6f44483a5067f3d7021ca26e2cce6 (patch)
treede4836ab7ed361708adf24ebcd065196160d1c0a /tests/io.test
parent3dc792af1b4092559af5da21b600651cde78c1ff (diff)
downloadtcl-eb3bdd1436d6f44483a5067f3d7021ca26e2cce6.zip
tcl-eb3bdd1436d6f44483a5067f3d7021ca26e2cce6.tar.gz
tcl-eb3bdd1436d6f44483a5067f3d7021ca26e2cce6.tar.bz2
* tests/appendComp.test: Backport test suite fixes of errors
* tests/autoMkindex.test: revealed by -singleproc 1 -debug 1 * tests/exec.test: options to make test. * tests/execute.test: * tests/interp.test: * tests/io.test: * tests/namespace.test: * tests/regexpComp.test: * tests/stringComp.test: * tests/unixInit.test: * tests/winPipe.test:
Diffstat (limited to 'tests/io.test')
-rw-r--r--tests/io.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/io.test b/tests/io.test
index a529e61..a66bf89 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.6 2004/07/26 21:39:42 hobbs Exp $
+# RCS: @(#) $Id: io.test,v 1.40.2.7 2004/10/28 00:01:08 dgp Exp $
if {[catch {package require tcltest 2}]} {
puts stderr "Skipping tests in [info script]. tcltest 2 required."
@@ -2685,7 +2685,7 @@ test io-29.33 {Tcl_Flush, implicit flush on exit} {exec} {
set r
} "hello\nbye\nstrange\n"
test io-29.34 {Tcl_Close, async flush on close, using sockets} {socket tempNotMac fileevent} {
- set c 0
+ variable c 0
variable x running
set l abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
proc writelots {s l} {
@@ -5776,7 +5776,7 @@ test io-48.4 {lf write, testing readability, ^Z termination, auto read mode} {fi
file delete $path(test1)
set f [open $path(test1) w]
fconfigure $f -translation lf
- set c [format "abc\ndef\n%c" 26]
+ variable c [format "abc\ndef\n%c" 26]
puts -nonewline $f $c
close $f
proc consume {f} {