1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

skip examples failing on solaris

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2018-08-16 10:50:53 +00:00
parent 1961c786aa
commit 250bf32f97
4 changed files with 18 additions and 10 deletions

View file

@ -75,10 +75,12 @@ describe 'Addrinfo.getaddrinfo' do
end
end
it 'sets a custom socket protocol of the Addrinfo instances' do
array = Addrinfo.getaddrinfo('localhost', 80, nil, nil, Socket::IPPROTO_UDP)
platform_is_not :'solaris2.10' do # i386-solaris
it 'sets a custom socket protocol of the Addrinfo instances' do
array = Addrinfo.getaddrinfo('localhost', 80, nil, nil, Socket::IPPROTO_UDP)
array[0].protocol.should == Socket::IPPROTO_UDP
array[0].protocol.should == Socket::IPPROTO_UDP
end
end
platform_is_not :solaris do