summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-09 16:11:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-09 16:11:58 (GMT)
commit293c1ff559bb2245f11faf04805c2dc89e9d8a5b (patch)
tree5f2dffdac740b0e0c87cbf7929b1024c0ecf6ce1 /tests/io.test
parente95d2eea7fc037bb5d2f5cd1cc3bb47211b2fd2d (diff)
downloadtcl-293c1ff559bb2245f11faf04805c2dc89e9d8a5b.zip
tcl-293c1ff559bb2245f11faf04805c2dc89e9d8a5b.tar.gz
tcl-293c1ff559bb2245f11faf04805c2dc89e9d8a5b.tar.bz2
Left-over TCL_ENCODING_STRICT, not used any more.
Add "-profile tcl8" for testcases which don't work in strict profile
Diffstat (limited to 'tests/io.test')
-rw-r--r--tests/io.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/io.test b/tests/io.test
index e380146..5acd553 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -1195,7 +1195,7 @@ test io-7.3 {FilterInputBytes: split up character at EOF} {testchannel} {
puts -nonewline $f "1234567890123\x82\x4F\x82\x50\x82"
close $f
set f [open $path(test1)]
- fconfigure $f -encoding shiftjis
+ fconfigure $f -encoding shiftjis -profile tcl8
set x [list [gets $f line] $line]
lappend x [tell $f] [testchannel inputbuffered $f] [eof $f]
lappend x [gets $f line] $line
@@ -7964,6 +7964,8 @@ test io-53.5 {CopyData: error during fcopy} {socket fcopy} {
set out [socket 127.0.0.1 [lindex [fconfigure $listen -sockname] 2]]
catch {unset fcopyTestDone}
close $listen ;# This means the socket open never really succeeds
+ fconfigure $in -encoding utf-8
+ fconfigure $out -encoding utf-8
fcopy $in $out -command [namespace code FcopyTestDone]
variable fcopyTestDone
if {![info exists fcopyTestDone]} {