spec/beaker/host/unix_spec.rb in beaker-4.29.1 vs spec/beaker/host/unix_spec.rb in beaker-4.30.0
- old
+ new
@@ -168,10 +168,18 @@
'pa_collection', 'pa_version1' )
expect( release_path_end ).to be === "sles/12/pa_collection/arch"
expect( release_file ).to be === "puppet-agent-pa_version1-1.sles12.arch.rpm"
end
+ it 'sets up opensuse platforms correctly' do
+ @platform = 'opensuse-15-x86_64'
+ release_path_end, release_file = host.puppet_agent_dev_package_info(
+ 'pa_collection', 'pa_version1' )
+ expect( release_path_end ).to be === "sles/15/pa_collection/x86_64"
+ expect( release_file ).to be === "puppet-agent-pa_version1-1.sles15.x86_64.rpm"
+ end
+
it 'sets the arch correctly on aix-power platforms' do
@platform = 'aix-6.1-power'
release_path_end, release_file = host.puppet_agent_dev_package_info(
'pa_collection', '6.0.0' )
expect( release_path_end ).to be === "aix/6.1/pa_collection/ppc"
@@ -232,6 +240,6 @@
validate_test = host.validate_setup
expect( validate_test ).to be_nil
end
end
end
-end
\ No newline at end of file
+end