|
2007-02-23
| ||
| 10:20 | • Closed ticket [1464861fff]: new test suite failures on sparc solaris 8 plus ... artifact: 5a30ed17f1 user: sf-robot | |
|
2007-02-09
| ||
| 08:11 | • Pending ticket [1464861fff]. artifact: 7266113200 user: hobbs | |
|
2006-04-05
| ||
| 22:20 | • Ticket [1464861fff]: 2 changes artifact: 679077bbf0 user: dgp | |
| 12:07 | • New ticket [1464861fff]. artifact: 4b4669f798 user: lvirden | |
new test suite failures on sparc solaris 8
Closed / Works For Me1464861fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 20 years ago
Descriptionplain2006-04-05 12:07:25
platform: sparc solaris 8, Sun C compiler
configured with
./configure --prefix=/volws/lwv27/ldatae
--enable-threads --enable-shared --enable-symbols
--enable-stubs --enable-64bit
There is, of course, the failure of the test to set the
group on a file. That's going to always fail on
Solaris, so I am not considering that new.
However, in the socket.test I am seeing these new failures:
socket.test
==== socket-2.3 tcp connection with client interface
specified FAILED
==== Contents of test case:
file delete $path(script)
set f [open $path(script) w]
puts $f {
set timer [after 2000 "set x done"]
set f [socket -server accept 2830]
proc accept {file addr port} {
global x
puts "[gets $file] $addr"
close $file
set x done
}
puts ready
vwait x
after cancel $timer
close $f
}
close $f
set f [open "|[list [interpreter] $path(script)]" r]
gets $f x
if {[catch {socket -myaddr 127.0.0.1 127.0.0.1
2830} sock]} {
set x $sock
} else {
puts $sock hello
flush $sock
lappend x [gets $f]
close $sock
}
close $f
set x
---- Result was:
ready {hello 0.0.0.0}
---- Result should have been (exact matching):
ready {hello 127.0.0.1}
==== socket-2.3 FAILED
==== socket-7.1 testing socket specific options FAILED
==== Contents of test case:
file delete $path(script)
set f [open $path(script) w]
puts $f {
set ss [socket -server accept 0]
proc accept args {
global x
set x done
}
puts ready
puts [lindex [fconfigure $ss -sockname] 2]
set timer [after 10000 "set x timed_out"]
vwait x
after cancel $timer
}
close $f
set f [open "|[list [interpreter] $path(script)]" r]
gets $f
gets $f listen
set s [socket 127.0.0.1 $listen]
set p [fconfigure $s -peername]
close $s
close $f
set l ""
lappend l [string compare [lindex $p 0] 127.0.0.1]
lappend l [string compare [lindex $p 2] $listen]
lappend l [llength $p]
---- Result was:
-1 0 3
---- Result should have been (exact matching):
0 0 3
==== socket-7.1 FAILED
==== socket-7.5 testing socket specific options FAILED
==== Contents of test case:
set s [socket -server accept 0]
proc accept {s a p} {
global x
set x [fconfigure $s -sockname]
close $s
}
set listen [lindex [fconfigure $s -sockname] 2]
set s1 [socket 127.0.0.1 $listen]
set timer [after 10000 "set x timed_out"]
vwait x
after cancel $timer
close $s
close $s1
set l ""
lappend l [lindex $x 0] [expr {[lindex $x 2] ==
$listen}] [llength $x]
---- Result was:
0.0.0.0 1 3
---- Result should have been (exact matching):
127.0.0.1 1 3
==== socket-7.5 FAILED
and then, a bit later in unixInit.test
unixInit.test
==== unixInit-1.2 initialisation: standard channel type
deduction FAILED
==== Contents of test case:
# pipe1 is a connection to a server that reports
what port it
# starts on, and delivers a constant string to the
first client to
# connect to that port before exiting.
set pipe1 [open "|[list [interpreter]]" r+]
puts $pipe1 {
proc accept {channel host port} {
puts $channel {puts [fconfigure stdin
-peername]; exit}
close $channel
exit
}
puts [fconfigure [socket -server accept 0]
-sockname]
vwait forever }
# Note the backslash above; this is important to
make sure that the
# whole string is read before an [exit] can happen...
flush $pipe1
set port [lindex [gets $pipe1] 2]
set sock [socket localhost $port]
# pipe2 is a connection to a Tcl interpreter that
takes its orders
# from the socket we hand it (i.e. the server we
create above.)
# These orders will tell it to print out the
details about the
# socket it is taking instructions from, hopefully
identifying it
# as a socket. Which is what this test is all about.
set pipe2 [open "|[list [interpreter] <@$sock]" r]
set result [gets $pipe2]
# Clear any pending data; stops certain kinds of
(non-important) errors
fconfigure $pipe1 -blocking 0; gets $pipe1
fconfigure $pipe2 -blocking 0; gets $pipe2
# Close the pipes and the socket.
close $pipe2
close $pipe1
catch {close $sock}
# Can't use normal comparison, as hostname varies
due to some
# installations having a messed up /etc/hosts file.
if {
[string equal 127.0.0.1 [lindex $result 0]] &&
[string equal $port [lindex $result 2]]
} then {
subst "OK"
} else {
subst "Expected: `[list 127.0.0.1 localhost
$port]', Got `$result'"
}
---- Result was:
Expected: `127.0.0.1 localhost 35065', Got `0.0.0.0
localhost 35065'
---- Result should have been (exact matching):
OK
==== unixInit-1.2 FAILED
dgp Ticket [1464861fff]: 2 changes
[History diff]2006-04-05 22:20:39
hobbs Pending ticket [1464861fff].
[History diff]2007-02-09 08:11:26
sf-robotplain2007-02-23 10:20:10
Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.