|
2003-05-20
| ||
| 22:40 | • Ticket [740374ffff] socket test case failed status still Closed with 3 other... artifact: f0f50e32b5 user: dgp | |
| 22:40 | • Closed ticket [740374ffff]. artifact: b36ce01ed8 user: dgp | |
| 22:34 | • Ticket [740374ffff]: 1 change artifact: 4eefb3f693 user: lvirden | |
| 22:31 | • Ticket [740374ffff]: 4 changes artifact: 3c0d5687d6 user: lvirden | |
| 22:09 | • Ticket [740374ffff]: 4 changes artifact: 7cb2c0904d user: dgp | |
| 11:13 | • New ticket [740374ffff]. artifact: e1d96d8944 user: lvirden | |
socket test case failed
Closed / Works For Me740374ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-05-20 11:13:39
Platform: SPARC Solaris SunBlade 100, Solaris _8_, Sun C
compiler Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
2002/05/09
CVS snapshot 2003-05-19 from activestate ftp site.
Configuring with enable-symbols enable-shared
enable-threads.
Today, a new test suite case failed:
socket.test
==== socket-2.2 tcp connection with client port
specified FAILED
==== Contents of test case:
removeFile script
set f [open $path(script) w]
puts $f {
set timer [after 10000 "set x timeout"]
set f [socket -server accept 0]
proc accept {file addr port} {
global x
puts "[gets $file] $port"
close $file
set x done
}
puts ready
puts [lindex [fconfigure $f -sockname] 2]
vwait x
after cancel $timer
close $f
}
close $f
set f [open "|[list [interpreter] $path(script)]" r]
gets $f x
gets $f listen
global port
if {[catch {socket -myport $port 127.0.0.1 $listen}
sock]} {
set x $sock
close [socket 127.0.0.1 $listen]
puts stderr $sock
} else {
puts $sock hello
flush $sock
lappend x [gets $f]
close $sock
}
close $f
set x
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== socket-2.2 FAILED
}
puts ready
puts [lindex [fconfigure $f -sockname] 2]
vwait x
after cancel $timer
close $f
}
close $f
set f [open "|[list [interpreter] $path(script)]" r]
gets $f x
gets $f listen
global port
if {[catch {socket -myport $port 127.0.0.1 $listen}
sock]} {
set x $sock
close [socket 127.0.0.1 $listen]
puts stderr $sock
} else {
puts $sock hello
flush $sock
lappend x [gets $f]
close $sock
}
close $f
set x
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== socket-2.2 FAILED
dgpplain2003-05-20 22:09:25
Logged In: YES user_id=80530 when the test itself generates an error, re-run with -verbose be to get the stack trace.
lvirdenplain2003-05-20 22:31:25
Logged In: YES user_id=15949 when I try make TESTFLAGS="-verbose tpse -file socket.test" test there was no failure. Rerunning as make TESTFLAGS="-file socket.test" test and even make test also shows no failure. So I guess since I can't reproduce it, this one should be closed.
lvirden Ticket [740374ffff]: 1 change
[History diff]2003-05-20 22:34:07
dgp Closed ticket [740374ffff].
[History diff]2003-05-20 22:40:23
dgp Ticket [740374ffff]: 3 changes
[History diff]2003-05-20 22:40:24
Log in (anonymous is fine) to add a comment.