mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip unpack_sockaddr_in with http at Solaris platform
http://rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20220929T050003Z.fail.html.gz
This commit is contained in:
parent
cb16dcb184
commit
9948b8bfec
1 changed files with 5 additions and 3 deletions
|
@ -19,9 +19,11 @@ describe :socket_pack_sockaddr_in, shared: true do
|
|||
Socket.unpack_sockaddr_in(sockaddr_in).should == [0, '127.0.0.1']
|
||||
end
|
||||
|
||||
it 'resolves the service name to a port' do
|
||||
sockaddr_in = Socket.public_send(@method, 'http', '127.0.0.1')
|
||||
Socket.unpack_sockaddr_in(sockaddr_in).should == [80, '127.0.0.1']
|
||||
platform_is_not :solaris do
|
||||
it 'resolves the service name to a port' do
|
||||
sockaddr_in = Socket.public_send(@method, 'http', '127.0.0.1')
|
||||
Socket.unpack_sockaddr_in(sockaddr_in).should == [80, '127.0.0.1']
|
||||
end
|
||||
end
|
||||
|
||||
describe 'using an IPv4 address' do
|
||||
|
|
Loading…
Reference in a new issue