spec/stemcells/centos_spec.rb in bosh-stemcell-1.5.0.pre.1117 vs spec/stemcells/centos_spec.rb in bosh-stemcell-1.5.0.pre.1134

- old
+ new

@@ -90,12 +90,12 @@ end end context 'installed by system_kernel' do { - 'kernel' => '2.6.32-358.18.1.el6.x86_64', - 'kernel-headers' => '2.6.32-358.18.1.el6.x86_64', + 'kernel' => '2.6.32-358.23.2.el6.x86_64', + 'kernel-headers' => '2.6.32-358.23.2.el6.x86_64', }.each do |pkg, version| describe package(pkg) do it { should be_installed.with_version(version) } end end @@ -110,13 +110,14 @@ describe file('/boot/grub/grub.conf') do it { should be_file } it { should contain 'default=0' } it { should contain 'timeout=1' } - it { should contain 'title CentOS release 6.4 (Final) (2.6.32-358.18.1.el6.x86_64)' } + it { should contain 'title CentOS release 6.4 (Final) (2.6.32-358.23.2.el6.x86_64)' } it { should contain ' root (hd0,0)' } - it { should contain ' kernel /boot/vmlinuz-2.6.32-358.18.1.el6.x86_64 ro root=UUID=' } - it { should contain ' initrd /boot/initramfs-2.6.32-358.18.1.el6.x86_64.img' } + it { should contain ' kernel /boot/vmlinuz-2.6.32-358.23.2.el6.x86_64 ro root=UUID=' } + it { should contain ' selinux=0' } + it { should contain ' initrd /boot/initramfs-2.6.32-358.23.2.el6.x86_64.img' } end describe file('/boot/grub/menu.lst') do it { should be_linked_to('./grub.conf') } end