Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9e34ae3150d9eb3bb17494df362134ef00b497e2
Ticket: 218619ffffffffffffffffffffffffffffffffff
Tcl 8.0.5 make test fails two tests
User & Date: nobody on 2000-10-26 01:03:13
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1484 Bug
    Version: 8.0.5
    SubmitDate: '1999-03-11'
    LastModified: '1999-08-31'
    Severity: MED
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    OS: Solaris
    OSVersion: 2.6
    Machine: Other
    FixedDate: '1999-08-31'
    FixedInVersion: 8.2
    ClosedDate: '2000-10-25'
    
    
    Name:
    Larry W. Virden
    
    Extensions:
    none
    
    CustomShell:
    none
    
    ReproducibleScript:
        I downloaded the new tar file, did a configure on my platform and then a
        make all test .
        
    
    
    
    ObservedBehavior:
        Two of the tests failed:
        
        event.test
        
        ==== event-11.5 Tcl_VwaitCmd procedure: round robin scheduling, 2
        sources
        --- (socket) ---
        ==== Contents of test case:
        
            set f1 [open test1 w]
            proc accept {s args} {
                puts $s foobar
                close $s
            }
            set s1 [socket -server accept 5001]
            set s2 [socket 127.0.0.1 5001]
            close $s1
            set x 0
            set y 0
            set z 0
            fileevent $s2 readable { incr z }
            vwait z
            fileevent $f1 writable { incr x; if { $y == 3 } { set z done } }
            fileevent $s2 readable { incr y; if { $x == 3 } { set z done } }
            vwait z
            close $f1
            close $s2
            file delete test1 test2
            list $x $y $z
        
        ==== Test generated error:
        couldn't open socket: address already in use
        
        and then later
        
        socket.test
        
        ==== socket-11.8 client with several servers
        ==== Contents of test case:
        
            sendCommand {
                set s1 [socket -server "accept 4003" 4003]
                set s2 [socket -server "accept 4004" 4004]
                set s3 [socket -server "accept 4005" 4005]
                proc accept {mp s a p} {
                    puts $s $mp
                    close $s
                }
            }
            set s1 [socket $remoteServerIP 4003]
            set s2 [socket $remoteServerIP 4004]
            set s3 [socket $remoteServerIP 4005]
            set l ""
            lappend l [gets $s1] [gets $s1] [eof $s1] [gets $s2] [gets $s2] [eof
        $s2]  [
        gets $s3] [gets $s3] [eof $s3]
            close $s1
            close $s2
            close $s3
            sendCommand {
                close $s1
                close $s2
                close $s3
            }
            set l
        
        ==== Result was:
        4003 {} 1 4004 {} 1 {} {} 1
        ---- Result should have been:
        4003 {} 1 4004 {} 1 4005 {} 1
        ---- socket-11.8 FAILED
        
    
    
    
    DesiredBehavior:
        I expect to see either the tests work, or a note
        from the test suite saying that the test was skipped, or
        a note saying to ignore a particular kind of 'error'
        as being unimportant.
        
    
    
    
    
    
        The first is a pretty common error - there's been discussion
        over numerous releases about a fix for it.  I just don't
        recall whether anyone has submitted it to date to the
        bug database.  The other however seems a bit more disconcerting.
        
    --
    The second test failure is no longer encountered in 8.2.  The first
    still needs fixing, but is a problem in the test case itself, not
    Tcl. 
    -- 08/31/1999 hobbs
    
  4. foundin changed to: "final: 8.0.5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "61. (unused)"
  10. title changed to: "Tcl 8.0.5 make test fails two tests"
  11. type changed to: "Bug"