From 0b5c5a5315f6d467269589db2dcd49886662ffd5 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Tue, 30 Dec 2014 14:32:00 -0800 Subject: [PATCH] Only run ip6tables dst/src_type tests on platforms that support it --- spec/acceptance/firewall_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/acceptance/firewall_spec.rb b/spec/acceptance/firewall_spec.rb index cf44087c4..36782b2bc 100644 --- a/spec/acceptance/firewall_spec.rb +++ b/spec/acceptance/firewall_spec.rb @@ -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