From 20aa45d7ee47f612e5195a036dc6929d792af537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Mart=C3=ADn?= Date: Mon, 7 Oct 2024 12:16:00 +0200 Subject: [PATCH] test: move SELinux fixes to plan preparation steps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the missing SELinux permissions to the plan preparation steps instead of fixing them in each test. Signed-off-by: Miguel Martín --- test/fmf/plans/onboarding.fmf | 14 ++++++ test/fmf/tests/onboarding/run-onboarding.sh | 49 --------------------- 2 files changed, 14 insertions(+), 49 deletions(-) diff --git a/test/fmf/plans/onboarding.fmf b/test/fmf/plans/onboarding.fmf index f7b321a5a..673ad33be 100644 --- a/test/fmf/plans/onboarding.fmf +++ b/test/fmf/plans/onboarding.fmf @@ -8,6 +8,20 @@ prepare: copr: ${PACKIT_COPR_PROJECT} - how: shell script: dnf install -y ${PACKIT_COPR_RPMS} postgresql-server sqlite + - how: shell + script: | + echo "Adding missing SELinux permissions" + tee /tmp/fdo.cil <