fix(archlinux): fix test setup

This commit is contained in:
Imran Iqbal 2019-12-08 03:23:49 +00:00
parent 4176716f7e
commit 281846e791
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819
3 changed files with 13 additions and 10 deletions

View file

@ -38,11 +38,6 @@ when 'suse'
platform_packages = %w[] platform_packages = %w[]
held_packages = {} held_packages = {}
lock_file = '' lock_file = ''
# Adding empty Arch entries, to get tests passing
when 'arch'
platform_packages = %w[]
held_packages = {}
lock_file = ''
when 'debian' when 'debian'
platform_packages = %w[] platform_packages = %w[]
held_packages = { held_packages = {
@ -51,6 +46,13 @@ when 'debian'
'iotop': '0.6-' 'iotop': '0.6-'
} }
lock_file = '/var/lib/dpkg/status' lock_file = '/var/lib/dpkg/status'
when 'linux'
case platform[:name]
when 'arch'
platform_packages = %w[ruby]
held_packages = {}
lock_file = ''
end
end end
# FIXME: - not testing Held packages # FIXME: - not testing Held packages

View file

@ -4,7 +4,8 @@
remote_pkgs = ['zoom'] remote_pkgs = ['zoom']
case platform[:family] case platform[:family]
when 'suse' # `linux` here is sufficient for `arch`
when 'suse', 'linux'
remote_pkgs = [] remote_pkgs = []
end end

View file

@ -4,9 +4,10 @@
packages: packages:
pkgs: pkgs:
held: held:
- alien # - alien
- iotop - iotop
wanted: wanted:
- ruby
- git - git
- less - less
- bc - bc
@ -17,7 +18,6 @@ packages:
required: required:
pkgs: pkgs:
- git - git
- yum-plugin-versionlock
pips: pips:
wanted: wanted:
- attrs - attrs
@ -33,5 +33,5 @@ packages:
- diff-lcs - diff-lcs
- kitchen-vagrant - kitchen-vagrant
- kwalify - kwalify
remote_pkgs: # remote_pkgs:
zoom: 'https://zoom.us/client/latest/zoom_x86_64.rpm' # zoom: 'https://zoom.us/client/latest/zoom_x86_64.tar.xz'