Sha256: f88a654b12ca14069088d282e2f6a8d32364d01395c33ff33bea46a1b9746c0e

Contents?: true

Size: 361 Bytes

Versions: 10

Compression:

Stored size: 361 Bytes

Contents

# encoding: utf-8

# TODO: do not run those tests on docker yet
return if ENV['DOCKER']
return unless os.linux?

# Test kernel modules on all linux systems
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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
inspec-0.28.1 test/integration/default/kernel_module_spec.rb
inspec-0.28.0 test/integration/default/kernel_module_spec.rb
inspec-0.27.1 test/integration/default/kernel_module_spec.rb
inspec-0.27.0 test/integration/default/kernel_module_spec.rb
inspec-0.26.0 test/integration/default/kernel_module_spec.rb
inspec-0.25.0 test/integration/default/kernel_module_spec.rb
inspec-0.24.0 test/integration/default/kernel_module_spec.rb
inspec-0.23 test/integration/default/kernel_module_spec.rb
inspec-0.22.1 test/integration/default/kernel_module_spec.rb
inspec-0.22.0 test/integration/default/kernel_module_spec.rb