From 9b73f1e07a0b827e2a9997d4787ed9a7bc65edce Mon Sep 17 00:00:00 2001 From: Jesus Checa Hidalgo Date: Tue, 27 Aug 2024 13:28:20 +0200 Subject: [PATCH] Check that rpms install in tmt come from copr Add a prepare step that checks the version of installed llvm-libs to ensure it's a copr package. --- tests/snapshot-gating.fmf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/snapshot-gating.fmf b/tests/snapshot-gating.fmf index e3a38182..98b76df4 100644 --- a/tests/snapshot-gating.fmf +++ b/tests/snapshot-gating.fmf @@ -23,6 +23,11 @@ prepare: script: | dnf install -y dnf-plugins-core dnf config-manager --save --setopt="testing-farm-tag-repository.priority=999" || true + + - name: "Check that snapshot (~pre) version of LLVM is installed" + how: shell + order: 99 + script: rpm -q --qf "%{version}" llvm-libs | grep '~pre' adjust: - discover+: - name: redhat-rpm-config-tests