Artifacts Associated With Ticket 218619
Ticket change [9e34ae3150] (rid 96439) by nobody on 2000-10-26 01:03:13:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized 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 - foundin initialized to: "final: 8.0.5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "61. (unused)"
- title initialized to: "Tcl 8.0.5 make test fails two tests"
- type initialized to: "Bug"
Ticket change [e68cee2692] (rid 104308) by welch on 2000-10-26 08:25:11:
- closedate changed to: "2000-10-26T01:25:11"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [5d6b02a495] (rid 115457) by dgp on 2001-04-05 08:22:17:
- closedate changed to: "2001-04-05T01:22:17"
- closer changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"