fix the sequence of script commands

A missing ';' character can cause an error when the script lines
get concatenated and executed on RHEL-9 machines.
This commit is contained in:
Milos Malik 2023-11-09 08:08:39 +01:00
parent bd4dd09bb0
commit f8347e3b30
1 changed files with 1 additions and 9 deletions

View File

@ -5,14 +5,6 @@ discover:
filter: "tier:1 & tag:-failinfedora | component:selinux-policy & tag:-failinfedora"
prepare:
how: shell
script: yum config-manager --set-enabled epel --set-enabled crb
script: yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm ; yum config-manager --set-enabled epel --set-enabled crb
execute:
how: tmt
adjust:
- when: distro ~= rhel-9
prepare+:
script+<: yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
- when: distro ~= rhel-8
prepare+:
script+<: yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm