From 91ec220b7673aa513898624ba1a4ab5beedf31db Mon Sep 17 00:00:00 2001 From: Helen Campbell Date: Wed, 6 Sep 2017 13:37:42 +0100 Subject: [PATCH] Update for hashlimit tests to not run on RedHat5 or Scientific 5 Hashlimit doesn't seem to be fully supported on these OS'es so I've put a check to skip the tests. --- spec/acceptance/hashlimit_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/acceptance/hashlimit_spec.rb b/spec/acceptance/hashlimit_spec.rb index 27e8a75..89b1ff0 100644 --- a/spec/acceptance/hashlimit_spec.rb +++ b/spec/acceptance/hashlimit_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper_acceptance' -describe 'hashlimit property' do +describe 'hashlimit property', if: fact('operatingsystemmajrelease') != '5' && (fact('operatingsystem') != 'Scientific' || fact('operatingsystem') != 'RedHat') do before :all do iptables_flush_all_tables ip6tables_flush_all_tables -- 2.45.2