From 5db7d069a4cf568b4490e6e96366eb04ea56dfec Mon Sep 17 00:00:00 2001 From: Milos Malik Date: Thu, 9 Nov 2023 07:00:01 +0100 Subject: [PATCH] fix the sequence of script commands A missing ';' character causes an error when the script lines get concatenated and executed on RHEL-8 machine. --- plans/tests.fmf | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/plans/tests.fmf b/plans/tests.fmf index 4d0a4e8c..152bfe6f 100644 --- a/plans/tests.fmf +++ b/plans/tests.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 ; sed -i 's/CentOS Stream/Red Hat Enterprise Linux/' /etc/redhat-release + script: yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm ; yum config-manager --set-enabled epel ; sed -i 's/CentOS Stream/Red Hat Enterprise Linux/' /etc/redhat-release 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 -