Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Test iocmd.tf-24.16 fails on netbsd

Open3400826fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2011-08-30 15:36:06
The iocmd.tf-24.16 test fails under netbsd.
Output of failed test follows:

ioCmd.test


==== iocmd.tf-24.16 chan write, note the background flush setup by close due to the EAGAIN leaving data in buffers. FAILED
==== Contents of test case:

    notes [inthread $c {
        note [puts -nonewline $c ABC ; flush $c]
        close $c
        notes
    } c]
    # Replace handler with all-tracking one which doesn't error.
    # This will tell us if a write-due-flush is there.
    proc foo {args} { note BG ; track }
    # Flush (sic!) the event-queue to capture the write from a
    # BG-flush.
    update
    set res

---- Result was:
{write rc0 ABC} {watch rc0 write} {} BG {write rc0 ABC} BG {finalize rc0}
---- Result should have been (glob matching):
{write rc* ABC} {watch rc* write} {} BG {write rc* ABC}
==== iocmd.tf-24.16 FAILED


The test itself was introduced in http://core.tcl.tk/tcl/info/1025712d5b1e7510c8ab
Log in (anonymous is fine) to add a comment.