Skip to content

Commit 02af642

Browse files
test(amazonlinux): match package version against os
1 parent c8cc1d3 commit 02af642

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

test/integration/v201902-py2/controls/pkgs_spec.rb

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
version =
22
case platform[:family]
33
when 'redhat'
4-
'2019.2.1-1.el7'
5-
when 'fedora'
6-
'2019.2.0-1.fc30'
4+
case platform[:name]
5+
when 'amazon'
6+
'2019.2.3-1.el7'
7+
when 'centos'
8+
'2019.2.1-1.el7'
9+
when 'fedora'
10+
'2019.2.0-1.fc30'
11+
end
712
when 'suse'
813
'2019.2.0-lp151.5.3.1'
914
when 'debian'

0 commit comments

Comments
 (0)