Merge pull request #397 from lionce/MODULES-10062

MODULES-10062 - fix acceptance tests on sles
This commit is contained in:
carabasdaniel
2019-11-07 12:33:16 +02:00
committed by GitHub

View File

@@ -71,6 +71,10 @@ context 'with failure cases' do
end
it 'fails on debian or RHEL when passed fake java_alternative and path' do
apply_manifest(bogus_alternative, expect_failures: true)
if os[:family] == 'sles'
apply_manifest(bogus_alternative, catch_failures: true)
else
apply_manifest(bogus_alternative, expect_failures: true)
end
end
end