diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-05-09 16:11:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-05-09 16:11:58 (GMT) |
commit | 293c1ff559bb2245f11faf04805c2dc89e9d8a5b (patch) | |
tree | 5f2dffdac740b0e0c87cbf7929b1024c0ecf6ce1 /tests | |
parent | e95d2eea7fc037bb5d2f5cd1cc3bb47211b2fd2d (diff) | |
download | tcl-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')
-rw-r--r-- | tests/io.test | 4 | ||||
-rw-r--r-- | tests/iogt.test | 4 |
2 files changed, 5 insertions, 3 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]} { diff --git a/tests/iogt.test b/tests/iogt.test index 5692682..cb02d40 100644 --- a/tests/iogt.test +++ b/tests/iogt.test @@ -549,8 +549,8 @@ test iogt-2.3 {basic I/O, mixed trail} {testchannel unix} { set trail [list] audit_flow trail -attach $fin audit_flow trail -attach $fout - fconfigure $fin -buffersize 20 - fconfigure $fout -buffersize 10 + fconfigure $fin -buffersize 20 -profile tcl8 + fconfigure $fout -buffersize 10 -profile tcl8 fcopy $fin $fout close $fin close $fout |