add kernel_module integration tests

This commit is contained in:
Christoph Hartmann 2015-10-23 13:58:20 +02:00
parent 0bbb70302d
commit 857e5ed28e

View 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