Skip to content

Commit

Permalink
Only run ip6tables dst/src_type tests on platforms that support it
Browse files Browse the repository at this point in the history
  • Loading branch information
Colleen Murphy committed Dec 30, 2014
1 parent 27c9d55 commit 0b5c5a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/firewall_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1225,8 +1225,8 @@ class { '::firewall': }
end
end

# ip6tables on el5 and el6 doesn't support addrtype
if default['platform'] !~ /el-[5-6]/
# ip6tables only support addrtype on a limited set of platforms
if default['platform'] =~ /el-7/ or default['platform'] =~ /debian-7/ or default['platform'] =~ /ubuntu-1404/
['dst_type', 'src_type'].each do |type|
describe "#{type}" do
context 'MULTICAST' do
Expand Down

0 comments on commit 0b5c5a5

Please sign in to comment.