From f8347e3b3039783e38b7e461d010a2dd5d7a3a17 Mon Sep 17 00:00:00 2001 From: Milos Malik Date: Thu, 9 Nov 2023 08:08:39 +0100 Subject: [PATCH] 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. --- plans/selinux.fmf | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/plans/selinux.fmf b/plans/selinux.fmf index 2c6bfa6..326e17a 100644 --- a/plans/selinux.fmf +++ b/plans/selinux.fmf @@ -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 -