mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Guard with a :pktinfo feature specs relying on PKTINFO
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a48339c2c9
commit
28ed3c0f80
3 changed files with 6 additions and 3 deletions
|
@ -15,8 +15,10 @@ with_feature :ancillary_data do
|
|||
@data.cmsg_is?(:IP, :TTL).should == true
|
||||
end
|
||||
|
||||
it 'returns false when comparing with :IP and :PKTINFO' do
|
||||
@data.cmsg_is?(:IP, :PKTINFO).should == false
|
||||
with_feature :pktinfo do
|
||||
it 'returns false when comparing with :IP and :PKTINFO' do
|
||||
@data.cmsg_is?(:IP, :PKTINFO).should == false
|
||||
end
|
||||
end
|
||||
|
||||
it 'returns false when comparing with :SOCKET and :RIGHTS' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue