Skip to content

Commit

Permalink
Merge pull request #456 from cmurphy/fix_tests
Browse files Browse the repository at this point in the history
Only run ip6tables dst/src_type tests on platforms that support it
  • Loading branch information
Morgan Haskel committed Dec 30, 2014
2 parents 27c9d55 + 0b5c5a5 commit 7b0b419
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 7b0b419

Please sign in to comment.