Artifacts Associated With Ticket c2f368c2015a9942
Ticket change [f0645e1d40] (rid 220363) by dgp on 2023-11-17 16:15:42:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
==== io-52.20.1 TclCopyChannel & read encoding error & tell position FAILED ==== Contents of test case: # binary to encoding => the input has to be # in utf-8 to make sense to the encoder set in [open $path(utf8-fcopy.txt) r] set out [open $path(kyrillic.txt) w] # Using "-encoding ascii" means reading the "Á" gives an error fconfigure $in -encoding ascii -profile strict fconfigure $out -encoding koi8-r -translation lf set l {} # should fail, so 1 is added lappend l [catch {fcopy $in $out}] # should be at position 1, after the first correct byte, so 1 is read. lappend l [tell $in] # not sure, if flush required, but anyway flush $out # should be at position 1, after the first correct byte, so 1 is written. lappend l [tell $out] ---- Result was: 1 1 0 ---- Result should have been (exact matching): 1 1 1 ==== io-52.20.1 FAILED - foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "25. Channel System"
- title initialized to: "io-52.20.1 test failure"
- type initialized to: "Bug"
Ticket change [f230ec333f] (rid 220364) by dgp on 2023-11-17 16:30:21:
- icomment:
Merging the "knownBug" constraint from 8.7 has the effect of ending/masking this issue. Generally, "knownBug" tagging is disfavored compared to fixing bugs and/or tests to achieve proper behavior and proper testing.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [d9f064cf56] (rid 220379) by jan.nijtmans on 2023-11-17 22:09:20:
- icomment:
It is not a good policy to add a testcase to trunk without a solution. This forces others to have a look at it. If you don't want to spend time to fix the bug, commit the testcase in a [bug-?????] branch, then give others the chance to fix the bug, then the full solution with the testcase - can be merged together. This way, the GITHUB builds will be red for multiple days, suggesting there's a regression failure. This is a long-standing bug, nog a regression.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [c286d5935f] (rid 220386) by oehhar on 2023-11-18 01:02:54:
- icomment:
Sorry, I will remove it. I just wanted to be sure, this is not forgotten. Take care, Harald
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"
- icomment:
Ticket change [c53ad65c9d] (rid 220388) by chrstphrchvz on 2023-11-18 10:57:09:
- icomment:
<blockquote>It is not a good policy to add a testcase to trunk without a solution. This forces others to have a look at it.</blockquote> I want to say this would be much less of an issue if tcltest supported marking tests as expected-fail (*without* using constraints). I suggested this in [53cdb9696c] but it seems others either do not understand the idea or find it useful.
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [c90811db7d] (rid 220399) by oehhar on 2023-11-18 17:28:06:
- icomment:
Test removed from core-8-branch and main. Sorry, will not happen again. Take care, Harald
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"
- icomment:
Ticket change [18f21b6785] (rid 220400) by oehhar on 2023-11-18 17:28:37:
- closedate changed to: "2460267.22821652"
- closer changed to: "oehhar"
- login: "oehhar"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"