linux-baseline/integration/modules_disabled/serverspec/modules_spec.rb

16 lines
474 B
Ruby
Raw Normal View History

2014-05-14 14:54:41 +00:00
require 'spec_helper'
describe 'preloaded modules' do
describe file('/etc/initramfs-tools/modules') do
before do
if (RSpec.configuration.os[:family] != 'Debian')
pending "initramfs creation not ported to this platform yet"
end
end
its(:content) { should match /^ghash-clmulni-intel/ }
its(:content) { should match /^aesni-intel/ }
its(:content) { should match /^kvm-intel/ }
end
end