Tcl Source Code

View Ticket
Login
Ticket UUID: 35a1bb18735311cf9f0be478ed727fb54ce51476
Title: Test Failure - socket-14.0.0 + socket-14.2 on Macos
Type: Bug Created on: 2017-11-07 17:43:03
Submitter: hypnotoad Assigned to: nobody
Subsystem: 69. Other Severity: Minor
Priority: 5 Medium Last modified: 2017-11-07 17:43:03
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: 8.7
Description:
Building a fresh checkout of [84de05583b0631640bcb0f697345f4743c74da0b] on MacOS High Sierra using Xcode command line tools and running "make test" produces the following failed tests:


==== socket-14.0.0 [socket -async] when server only listens on IPv4 FAILED
==== Contents of test case:

        set client [socket -async localhost $port]
        set after [after $latency {set x [fconfigure $client -error]}]
        vwait x
        set x
    
---- Result was:

---- Result should have been (exact matching):
ok
==== socket-14.0.0 FAILED



==== socket-14.2 [socket -async] fileevent connection refused FAILED
==== Contents of test case:

        set client [socket -async localhost [randport]]
        fileevent $client writable {set x ok}
        set after [after $latency {set x timeout}]
        vwait x
        after cancel $after
        lappend x [fconfigure $client -error]
    
---- Result was:
timeout {}
---- Result should have been (exact matching):
ok {connection refused}
==== socket-14.2 FAILED