MODULES-10062 - fix acceptance tests on sles

This commit is contained in:
lionce
2019-11-06 14:25:09 +02:00
parent 00588d2b96
commit c477db3b59

View File

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