Skip to content

Commit

Permalink
test(base): re-enable Arch Linux test (possible due to cron-formula)
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Jan 14, 2022
1 parent 4cf2808 commit 2136711
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/integration/default/controls/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@
control 'logrotate.service.running' do
title 'The service should be installed, enabled and running'

only_if('Disabled on Arch Linux') do
!%w[arch].include?(platform[:name])
end

service =
case platform[:family]
case system.platform[:family]
when 'arch'
'cronie'
when 'redhat', 'fedora'
'crond'
else
Expand Down

0 comments on commit 2136711

Please sign in to comment.