Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7c605231945e16299f336cd9f49bb210a07e51a9
Ticket: 13d3af3ad5b8e8eb20d673962d442dd64a40af40
IPV6 only used for IPV4/IPV6 sockets on windows
User & Date: dgp on 2014-05-20 20:13:51
Changes

  1. closedate changed to: "2456798.34295612"
  2. icomment:
    Additional failing trunk tests on OSX Mavericks:
    
    ==== socket-14.7.2 pending [socket -async] and blocking [gets], no listener FAILED
    ==== Contents of test case:
    
            set sock [socket -async localhost [randport]]
            catch {gets $sock} x
            list $x [fconfigure $sock -error] [fconfigure $sock -error]
        
    ---- Result was:
    {error reading "sock7f9e038df590": socket is not connected} {connection timed out} {}
    ---- Result should have been (glob matching):
    {error reading "sock*": socket is not connected} {connection refused} {}
    ==== socket-14.7.2 FAILED
    
    
    
    ==== socket-14.8.2 pending [socket -async] and nonblocking [gets], no listener FAILED
    ==== Contents of test case:
    
            set sock [socket -async localhost [randport]]
            fconfigure $sock -blocking 0
            for {set i 0} {$i < 50} {incr i } {
                if {[catch {gets $sock} x] || $x ne "" || ![fblocked $sock]} break
                after 200
            }
            list $x [fconfigure $sock -error] [fconfigure $sock -error]
        
    ---- Result was:
    {} {} {}
    ---- Result should have been (glob matching):
    {error reading "sock*": socket is not connected} {connection refused} {}
    ==== socket-14.8.2 FAILED
    
    ==== socket-14.12 [socket -async] background progress triggered by [fconfigure -error] FAILED
    ==== Contents of test case:
    
            set s [socket -async localhost [randport]]
            for {set i 0} {$i < 50} {incr i} {
                set x [fconfigure $s -error]
                if {$x != ""} break
                after 200
            }
            set x
        
    ---- Result was:
    
    ---- Result should have been (exact matching):
    connection refused
    ==== socket-14.12 FAILED
    
    ==== socket-14.14 testing fileevent readable on failed async socket connect FAILED
    ==== Contents of test case:
    
        # Test for bug 581937ab1e
        
        set a1 [after 5000 {set x timeout}]
        # This connect should fail
        set s [socket -async localhost [randport]]
        fileevent $s readable {set x readable}
        vwait x
        set x
    
    ---- Result was:
    timeout
    ---- Result should have been (exact matching):
    readable
    ==== socket-14.14 FAILED
    
    and the following tests appear to just hang:
    
    socket-14.11.0
    socket-14.11.1
    socket-14.15
    
  3. login: "dgp"
  4. mimetype: "text/plain"