Skip to content

Commit

Permalink
test(inspec): disable service-based tests for opensuse-leap-15
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed May 2, 2019
1 parent 91ef13b commit 848c2ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/integration/default/controls/services_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Temporary `if` due to `opensuse-leap-15` bug re: `service`
if os[:name] == 'suse'
puts "[Skip `service`-based tests due to `opensuse-leap-15` detection bug (see https://github.com/inspec/train/issues/377)]"
else
control 'Template service' do
impact 0.5
title 'should be running and enabled'
Expand All @@ -7,3 +11,4 @@
it { should be_running }
end
end
end

0 comments on commit 848c2ad

Please sign in to comment.