Skip to content

Commit

Permalink
test(nomodsecurity): use adjusted modules suite instead
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Feb 13, 2021
1 parent f35054d commit 838b917
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 303 deletions.
4 changes: 4 additions & 0 deletions test/integration/modules/controls/mod_security_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
control 'apache mod_security configuration' do
title 'should match desired lines'

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

modspec_file =
case platform[:family]
when 'redhat', 'fedora'
Expand Down
50 changes: 0 additions & 50 deletions test/integration/nomodsecurity/README.md

This file was deleted.

110 changes: 0 additions & 110 deletions test/integration/nomodsecurity/controls/config_spec.rb

This file was deleted.

63 changes: 0 additions & 63 deletions test/integration/nomodsecurity/controls/packages_spec.rb

This file was deleted.

36 changes: 0 additions & 36 deletions test/integration/nomodsecurity/controls/server_status_spec.rb

This file was deleted.

26 changes: 0 additions & 26 deletions test/integration/nomodsecurity/controls/services_spec.rb

This file was deleted.

18 changes: 0 additions & 18 deletions test/integration/nomodsecurity/inspec.yml

This file was deleted.

0 comments on commit 838b917

Please sign in to comment.