1
0
Fork 0
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:
Hiroshi SHIBATA 2022-09-29 15:08:16 +09:00
parent cb16dcb184
commit 9948b8bfec
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -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