Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0fe1eacf6c071f820090528312228c8ebe3b7b37
Ticket: 217932ffffffffffffffffffffffffffffffffff
event test failure due to assumption that port 5001 is avail
User & Date: nobody on 2000-10-26 00:46:13
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3415 Bug
    Version: 8.2.1
    SubmitDate: '1999-11-05'
    LastModified: '2000-01-12'
    Severity: MED
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    RelatedBugIDs: 2590
    OS: Solaris
    OSVersion: 2.6
    FixedDate: '2000-10-25'
    ClosedDate: '2000-01-12'
    
    
    Name:
    Larry W. Virden
    
    CVS:
    Oct 29, 1999, 7PM EDT
    
    ReproducibleScript:
    configure
    make all test
    
    ObservedBehavior:
    event.test
    
    ==== event-11.5 Tcl_VwaitCmd procedure: round robin scheduling, 2 sources FAILED
    ==== Contents of test case:
    
        set f1 [open test1 w]
        proc accept {s args} {
            puts $s foobar
            close $s
        }
        catch {set s1 [socket -server accept 5001]}
        after 1000
        catch {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:
    can't read "s1": no such variable
    ---- Result should have been:
    3 3 done
    ==== event-11.5 FAILED
    
    DesiredBehavior:
    Tcl pass all tests
    
    
    
    This is due to the test suites assuming port 5001 is available,
    when it might not be. 
    -- 11/10/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2.1"
  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: "85. tclconfig"
  10. title changed to:
    event test failure due to assumption that port 5001 is avail
    
  11. type changed to: "Bug"