require 'spec_helper'

describe command('uname -r') do
  its(:stdout) { should match /4.4.39(-v7)?+/ }
  its(:exit_status) { should eq 0 }
end

describe file('/lib/modules/4.4.39-hypriotos+/kernel') do
  it { should be_directory }
end

describe file('/lib/modules/4.4.39-hypriotos-v7+/kernel') do
  it { should be_directory }
end

require 'spec_helper'

describe command('uname -r') do
  its(:stdout) { should match /4.9.13-bee42-v8/ }
  its(:exit_status) { should eq 0 }
end

describe file('/lib/modules/4.9.13-bee42-v8/kernel') do
  it { should be_directory }
end

Fix integrations tests for kernel version
Fix integrations tests for kernel version

Signed-off-by: Dieter Reuter <554783fc552b5b2a46dd3d7d7b9b2cce9a82c122@me.com>
