mirror of
https://github.com/inspec/inspec
synced 2024-11-30 16:39:20 +00:00
17 lines
303 B
Ruby
17 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
|