mirror of
https://github.com/inspec/inspec
synced 2024-12-18 00:53:22 +00:00
18 lines
303 B
Ruby
18 lines
303 B
Ruby
|
# 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
|