Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6835f10b8126903eee6fe5415db7658b7ad345d82a009c64537f909d10cbefe6
Ticket: 8e2d10698be3d0ab1af7f244d3735f9bd3706e53
ioCmd.test tests need updates for -eofchar changes
User & Date: dgp on 2022-10-27 13:06:10
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    ==== 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
    
  5. foundin changed to: "trunk"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "26. Channel Transforms"
  14. title changed to: "ioCmd.test tests need updates for -eofchar changes"
  15. type changed to: "Bug"