Merge pull request #195 from eputnam/sles10_test_failure
(maint) ci fix for install_spec
This commit is contained in:
@@ -136,14 +136,17 @@ end
|
|||||||
|
|
||||||
describe 'failure cases' do
|
describe 'failure cases' do
|
||||||
# C14711
|
# C14711
|
||||||
it 'should fail to install java with an incorrect version' do
|
# SLES 10 returns an exit code of 0 on zypper failure
|
||||||
pp = <<-EOS
|
unless fact('operatingsystem') == 'SLES' and fact('operatingsystemrelease') < '11'
|
||||||
|
it 'should fail to install java with an incorrect version' do
|
||||||
|
pp = <<-EOS
|
||||||
class { 'java':
|
class { 'java':
|
||||||
version => '14.5',
|
version => '14.5',
|
||||||
}
|
}
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
apply_manifest(pp, :expect_failures => true)
|
apply_manifest(pp, :expect_failures => true)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# C14712
|
# C14712
|
||||||
|
|||||||
Reference in New Issue
Block a user