From ab93f1b93bd7a1ba2a988b01ff05585589cbecf1 Mon Sep 17 00:00:00 2001 From: Laura Barcziova Date: Mon, 22 May 2023 12:32:04 +0200 Subject: [PATCH] rpminspect tests: exclude metadata check, check distro --- plans/rpminspect.centos.fmf | 7 +++++-- plans/rpminspect.fedora.fmf | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/plans/rpminspect.centos.fmf b/plans/rpminspect.centos.fmf index fa6d1eec..82a7e128 100644 --- a/plans/rpminspect.centos.fmf +++ b/plans/rpminspect.centos.fmf @@ -4,9 +4,9 @@ discover: how: shell tests: - name: rpminspect SRPM - test: rpminspect-centos -v -t VERIFY --profile=centos-stream-9-devel /tmp/*.src.rpm + test: rpminspect-centos -E metadata -v -t VERIFY --profile=centos-stream-9-devel /tmp/*.src.rpm - name: rpminspect binary RPMs - test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-centos -v -t VERIFY --profile=centos-stream-9-devel $rpm; done + test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-centos -E metadata -v -t VERIFY --profile=centos-stream-9-devel $rpm; done prepare: - name: packages how: install @@ -17,3 +17,6 @@ prepare: script: cd /tmp && curl -O ${PACKIT_SRPM_URL} execute: how: tmt +adjust: + enabled: false + when: distro == fedora diff --git a/plans/rpminspect.fedora.fmf b/plans/rpminspect.fedora.fmf index fd921902..349ea569 100644 --- a/plans/rpminspect.fedora.fmf +++ b/plans/rpminspect.fedora.fmf @@ -4,9 +4,9 @@ discover: how: shell tests: - name: rpminspect - test: rpminspect-fedora /tmp/*.src.rpm + test: rpminspect-fedora -E metadata /tmp/*.src.rpm - name: rpminspect binary RPMs - test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-fedora $rpm; done + test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-fedora -E metadata $rpm; done prepare: - name: packages how: install @@ -17,3 +17,6 @@ prepare: script: cd /tmp && curl -O ${PACKIT_SRPM_URL} execute: how: tmt +adjust: + enabled: false + when: distro == centos-stream-9