mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
add kernel_module integration tests
This commit is contained in:
parent
0bbb70302d
commit
857e5ed28e
1 changed files with 17 additions and 0 deletions
17
test/integration/default/kernel_module_spec.rb
Normal file
17
test/integration/default/kernel_module_spec.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
# encoding: utf-8
|
||||
|
||||
# Test kernel modules on all linux systems
|
||||
if os.linux?
|
||||
|
||||
describe kernel_module('video') do
|
||||
it { should be_loaded }
|
||||
end
|
||||
|
||||
describe kernel_module('bridge') do
|
||||
it { should_not be_loaded }
|
||||
end
|
||||
|
||||
describe kernel_module('dhcp') do
|
||||
it { should_not be_loaded }
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue