Maybe spec filters work like this

This commit is contained in:
Hunter Haugen
2014-08-28 18:21:09 -07:00
parent 3648bd8b70
commit 4cf0088f91

View File

@@ -95,9 +95,9 @@ end
# C14705 # C14705
# C15006 # C15006
describe 'oracle', :if => describe 'oracle', :if =>
(fact('operatingsystem') == 'Debian' and fact('operatingsystemrelease').match(/^7/)) fact('operatingsystem') == 'Debian' && fact('operatingsystemrelease').match(/^7/)
or (fact('operatingsystem') == 'Ubuntu' and fact('operatingsystemrelease').match(/^12\.04/)) || fact('operatingsystem') == 'Ubuntu' && fact('operatingsystemrelease').match(/^12\.04/)
or (fact('operatingsystem') == 'Ubuntu' and fact('operatingsystemrelease').match(/^14\.04/)) || fact('operatingsystem') == 'Ubuntu' && fact('operatingsystemrelease').match(/^14\.04/)
do do
# not supported # not supported
# The package is not available from any sources, but if a customer # The package is not available from any sources, but if a customer