summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-12-15 14:28:49 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2021-12-15 14:28:49 -0800
commite7c01b838980ceb14a555550169fa0a90363cb08 (patch)
tree1a2514146525e63c30524b755cddccdf8e2a71be
parent6a8fcdd25572fb3b17323af727a9528019d1f7d3 (diff)
downloadchef-e7c01b838980ceb14a555550169fa0a90363cb08.tar.gz
retesting the support matrix
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--spec/functional/resource/yum_package_spec.rb12
1 files changed, 8 insertions, 4 deletions
diff --git a/spec/functional/resource/yum_package_spec.rb b/spec/functional/resource/yum_package_spec.rb
index 1d6c5c8019..1eac11e599 100644
--- a/spec/functional/resource/yum_package_spec.rb
+++ b/spec/functional/resource/yum_package_spec.rb
@@ -142,7 +142,8 @@ describe Chef::Resource::YumPackage, :requires_root, external: exclude_test do
context "expanded idempotency checks with version variants" do
# 0:1.10, 0:1.10-1, 0:1*-1 don't work on yum/el6
- %w{1.10 1* 1.10-1 1*-1 1.10-* 1*-* 0:1* *:1.10-* *:1*-*}.each do |vstring|
+ # %w{1.10 1* 1.10-1 1*-1 1.10-* 1*-* 0:1* *:1.10-* *:1*-*}.each do |vstring|
+ %w{1.10 1* 1.10-1 1*-1 1.10-* 1*-* 0:1* *:1.10-* *:1*-* 0:1.10 0:1.10-1 0:1*-1}.each do |vstring|
it "installs the rpm when #{vstring} is in the package_name" do
flush_cache
yum_package "chef_rpm-#{vstring}" do
@@ -213,7 +214,8 @@ describe Chef::Resource::YumPackage, :requires_root, external: exclude_test do
end
# 0:1.2 0:1.2-1 0:1*-1 don't work on yum/el6
- %w{1.2 1* 1.2-1 1*-1 1.2-* 1*-* 0:1* *:1.2-* *:1*-*}.each do |vstring|
+ # %w{1.2 1* 1.2-1 1*-1 1.2-* 1*-* 0:1* *:1.2-* *:1*-*}.each do |vstring|
+ %w{1.2 1* 1.2-1 1*-1 1.2-* 1*-* 0:1* *:1.2-* *:1*-* 0:1.2 0:1.2-1 0:1*-1}.each do |vstring|
it "is idempotent when #{vstring} is in the version property and there is a candidate version" do
preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
yum_package "chef_rpm" do
@@ -226,7 +228,8 @@ describe Chef::Resource::YumPackage, :requires_root, external: exclude_test do
end
# 0:1.2, 0:1.2-1, 0:1*-1 don't work on yum/el6
- %w{1.2 1.2-1 1.2-* *:1.2-*}.each do |vstring|
+ # %w{1.2 1.2-1 1.2-* *:1.2-*}.each do |vstring|
+ %w{1.2 1.2-1 1.2-* *:1.2-* 0:1.2 0:1.2-1 0:1*-1}.each do |vstring|
it "is idempotent when #{vstring} is in the version property on upgrade and it doesn't match the candidate version" do
preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
yum_package "chef_rpm" do
@@ -239,7 +242,8 @@ describe Chef::Resource::YumPackage, :requires_root, external: exclude_test do
end
# 0:1.2, 0:1.2-1, 0:1*-1 don't work on yum/el6
- %w{1* 1*-1 1*-* 0:1* *:1*-*}.each do |vstring|
+ # %w{1* 1*-1 1*-* 0:1* *:1*-*}.each do |vstring|
+ %w{1* 1*-1 1*-* 0:1* *:1*-* 0:1.2 0:1.2-1 0:1*-1}.each do |vstring|
it "upgrades when #{vstring} is in the version property on upgrade and it matches the candidate version" do
preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
yum_package "chef_rpm" do