public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: do not require abrt, use recommend instead
@ 2026-09-11 13:20 Milos Malik
0 siblings, 0 replies; only message in thread
From: Milos Malik @ 2026-09-11 13:20 UTC (permalink / raw)
To: git-commits
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"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 13:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 13:20 [tests/selinux] pr775-checkpolicy-revdeps: do not require abrt, use recommend instead Milos Malik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox