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
20220929
T050003Z.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']
|
Socket.unpack_sockaddr_in(sockaddr_in).should == [0, '127.0.0.1']
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'resolves the service name to a port' do
|
platform_is_not :solaris do
|
||||||
sockaddr_in = Socket.public_send(@method, 'http', '127.0.0.1')
|
it 'resolves the service name to a port' do
|
||||||
Socket.unpack_sockaddr_in(sockaddr_in).should == [80, '127.0.0.1']
|
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
|
end
|
||||||
|
|
||||||
describe 'using an IPv4 address' do
|
describe 'using an IPv4 address' do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue