|
2022-10-27
| ||
| 13:33 | • Closed ticket [8e2d10698b]: ioCmd.test tests need updates for -eofchar changes</... artifact: 17e74ce162 user: jan.nijtmans | |
| 13:33 | Fix [8e2d10698b]: ioCmd.test tests need updates for -eofchar changes check-in: 27e4b9b75b user: jan.nijtmans tags: trunk, main | |
| 13:06 | • New ticket [8e2d10698b] ioCmd.test tests need updates for -eofchar changes. artifact: 6835f10b81 user: dgp | |
ioCmd.test tests need updates for -eofchar changes
Closed / Fixed8e2d10698be3d0ab1af7f244d3735f9bd3706e53Created 4 years agoUpdated 4 years ago
Descriptionplain2022-10-27 13:06:10
==== 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 0 -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 0 -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 0 -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
27e4b9b75bFix [8e2d10698b]: ioCmd.test tests need updates for -eofchar changes check-in2022-10-27 13:33:10
jan.nijtmanswiki2022-10-27 13:33:51
Fixed [here]
Log in (anonymous is fine) to add a comment.