Tcl 8.0.5 make test fails two tests
Closed / Fixed218619ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:03:13
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
welch Closed ticket [218619ffff].
[History diff]2000-10-26 08:25:11
dgp Ticket [218619ffff]: 3 changes
[History diff]2001-04-05 08:22:17
Log in (anonymous is fine) to add a comment.