public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milos Malik <mmalik@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: do not require abrt, use recommend instead
Date: Fri, 11 Sep 2026 13:20:57 GMT [thread overview]
Message-ID: <178913285720.1.17642477302044549037.tests-selinux-fc767823c17f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : fc767823c17f7e0907f6c2922f812c656bb7610a
Author : Milos Malik <mmalik@redhat.com>
Date : 2023-08-23T12:49:30+02:00
Stats : +4/-0 in 2 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/fc767823c17f7e0907f6c2922f812c656bb7610a?branch=pr775-checkpolicy-revdeps
Log:
do not require abrt, use recommend instead
The abrt* packages are not available on RHEL-9, which means that
one of the test phases would fail if this change was not done.
The test phase dedicated to /usr/sbin/abrtd will be executed only
if the file is present.
---
diff --git a/policycoreutils/sepolicy-generate-application/main.fmf b/policycoreutils/sepolicy-generate-application/main.fmf
index 5e1cb37..6c587d8 100644
--- a/policycoreutils/sepolicy-generate-application/main.fmf
+++ b/policycoreutils/sepolicy-generate-application/main.fmf
@@ -7,5 +7,7 @@ require:
- policycoreutils
- policycoreutils-devel
- mariadb-server
+recommend:
- abrt
tier: '3'
+enabled: true
diff --git a/policycoreutils/sepolicy-generate-application/test.sh b/policycoreutils/sepolicy-generate-application/test.sh
index 4e8c868..50ac0cc 100755
--- a/policycoreutils/sepolicy-generate-application/test.sh
+++ b/policycoreutils/sepolicy-generate-application/test.sh
@@ -19,6 +19,7 @@ rlJournalStart
rlRun "rm -rf policy"
rlPhaseEnd
+ if [ -x /usr/sbin/abrtd ] ; then
rlPhaseStartTest "/usr/sbin/abrtd"
rlRun "mkdir policy"
rlRun "sepolicy generate -p policy --application /usr/sbin/abrtd"
@@ -28,6 +29,7 @@ rlJournalStart
done
rlRun "rm -rf policy"
rlPhaseEnd
+ fi
rlPhaseStartCleanup
rlRun "popd"
reply other threads:[~2026-09-11 13:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178913285720.1.17642477302044549037.tests-selinux-fc767823c17f@fedoraproject.org \
--to=mmalik@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox