Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2022-10-14
13:43 • Closed ticket [7505fac5bd]: new iocmd.test failures plus 7 other changes artifact: 8386d4a2ce user: jan.nijtmans
13:36
Fix [7505fac5bd]: new iocmd.test failures check-in: ae98efef7f user: jan.nijtmans tags: core-8-branch
12:45 • Ticket [7505fac5bd] new iocmd.test failures status still Open with 3 other c... artifact: 4f4680aa0a user: dgp
12:44 • New ticket [7505fac5bd]. artifact: 0c4cfaa268 user: dgp

new iocmd.test failures

Closed / Fixed7505fac5bda3c86739b71ba832c666352baf309eCreated 4 years agoUpdated 4 years ago
Descriptionplain2022-10-14 12:44:32
Looks like it's just an overlooked detail of adapting to new channel options -nocomplainencoding


==== iocmd.tf-25.1 chan configure, cgetall, standard options FAILED
==== Contents of test case:

    set res {}
    proc foo {args} {oninit; onfinal; track; note MUST_NOT_HAPPEN; return}
    set c [chan create {r w} foo]
    notes [inthread $c {
        note [fconfigure $c]
        close $c
        notes
    } c]
    rename foo {}
    set res

---- Result was:
{-blocking 1 -buffering full -buffersize 4096 -encoding utf-8 -eofchar {{} {}} -nocomplainencoding 1 -strictencoding 0 -translation {auto lf}}
---- Result should have been (glob matching):
{-blocking 1 -buffering full -buffersize 4096 -encoding * -eofchar {{} {}} -translation {auto *}}
==== iocmd.tf-25.1 FAILED



==== iocmd.tf-25.2 chan configure, cgetall, no options FAILED
==== Contents of test case:

    set res {}
    proc foo {args} {oninit cget cgetall; onfinal; track; return ""}
    set c [chan create {r w} foo]
    notes [inthread $c {
        note [fconfigure $c]
        close $c
        notes
    } c]
    rename foo {}
    set res

---- Result was:
{cgetall rc161} {-blocking 1 -buffering full -buffersize 4096 -encoding utf-8 -eofchar {{} {}} -nocomplainencoding 1 -strictencoding 0 -translation {auto lf}}
---- Result should have been (glob matching):
{cgetall rc*} {-blocking 1 -buffering full -buffersize 4096 -encoding * -eofchar {{} {}} -translation {auto *}}
==== iocmd.tf-25.2 FAILED



==== iocmd.tf-25.3 chan configure, cgetall, regular result FAILED
==== Contents of test case:

    set res {}
    proc foo {args} {
        oninit cget cgetall; onfinal; track
        return "-bar foo -snarf x"
    }
    set c [chan create {r w} foo]
    notes [inthread $c {
        note [fconfigure $c]
        close $c
        notes
    } c]
    rename foo {}
    set res

---- Result was:
{cgetall rc162} {-blocking 1 -buffering full -buffersize 4096 -encoding utf-8 -eofchar {{} {}} -nocomplainencoding 1 -strictencoding 0 -translation {auto lf} -bar foo -snarf x}
---- Result should have been (glob matching):
{cgetall rc*} {-blocking 1 -buffering full -buffersize 4096 -encoding * -eofchar {{} {}} -translation {auto *} -bar foo -snarf x}
==== iocmd.tf-25.3 FAILED
Referenced by1
dgp Ticket [7505fac5bd]: 3 changes [History diff]2022-10-14 12:45:08
jan.nijtmanswiki2022-10-14 13:43:23

Fixed [here]

Log in (anonymous is fine) to add a comment.