summaryrefslogtreecommitdiffstats
path: root/tests/chanio.test
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-07-02 04:55:47 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-07-02 04:55:47 (GMT)
commit5dab0fa5de0367d41b4ad28b9a66c3cd1bf818ba (patch)
treef4371faf9fe8f11aac01c2da1309b63c532d906d /tests/chanio.test
parenta55934d7120943f45eee0c6283d093133905fc6d (diff)
downloadtcl-5dab0fa5de0367d41b4ad28b9a66c3cd1bf818ba.zip
tcl-5dab0fa5de0367d41b4ad28b9a66c3cd1bf818ba.tar.gz
tcl-5dab0fa5de0367d41b4ad28b9a66c3cd1bf818ba.tar.bz2
Backport fix [66ffafd309]. DBCS infinite loop on invalid encoding
Diffstat (limited to 'tests/chanio.test')
-rw-r--r--tests/chanio.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chanio.test b/tests/chanio.test
index b80c926..c5d3aca 100644
--- a/tests/chanio.test
+++ b/tests/chanio.test
@@ -1104,7 +1104,7 @@ test chan-io-7.3 {FilterInputBytes: split up character at EOF} -setup {
lappend x [chan gets $f line] $line
} -cleanup {
chan close $f
-} -result [list 15 "123456789012301" 18 0 1 -1 ""]
+} -result [list 16 "123456789012301\x82" 18 0 1 -1 ""]
test chan-io-7.4 {FilterInputBytes: recover from split up character} -setup {
variable x ""
} -constraints {stdio fileevent} -body {