ci fix for install_spec

This commit is contained in:
Eric Putnam
2016-10-13 14:20:20 -07:00
parent f9d152e991
commit bd25f7a58a

View File

@@ -136,6 +136,8 @@ end
describe 'failure cases' do describe 'failure cases' do
# C14711 # C14711
# SLES 10 returns an exit code of 0 on zypper failure
unless fact('operatingsystem') == 'SLES' and fact('operatingsystemrelease') < '11'
it 'should fail to install java with an incorrect version' do it 'should fail to install java with an incorrect version' do
pp = <<-EOS pp = <<-EOS
class { 'java': class { 'java':
@@ -145,6 +147,7 @@ describe 'failure cases' do
apply_manifest(pp, :expect_failures => true) apply_manifest(pp, :expect_failures => true)
end end
end
# C14712 # C14712
it 'should fail to install java with a blank version' do it 'should fail to install java with a blank version' do