public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: ensure that selinux-policy-{minimum,mls,targeted} are installed
@ 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 : 75e8d39310ed1590b3e31f7abb35f30bc6437a40
            Author : Milos Malik <mmalik@redhat.com>
            Date   : 2022-08-22T09:24:25+00:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/75e8d39310ed1590b3e31f7abb35f30bc6437a40?branch=pr775-checkpolicy-revdeps

            Log:
            ensure that selinux-policy-{minimum,mls,targeted} are installed

For unknown reasons, selinux-policy-{minimum,mls,targeted} packages
are not installed or their available versions differ from each other.
Let's work around the issue.

---
diff --git a/checkpolicy/checkpolicy/runtest.sh b/checkpolicy/checkpolicy/runtest.sh
index fda1e8e..fd0de7d 100755
--- a/checkpolicy/checkpolicy/runtest.sh
+++ b/checkpolicy/checkpolicy/runtest.sh
@@ -34,7 +34,7 @@ PACKAGE="checkpolicy"
 rlJournalStart
     rlPhaseStartSetup
         rlAssertRpm ${PACKAGE}
-        rlRun "yum -y install selinux-policy-minimum selinux-policy-mls selinux-policy-targeted"
+        rlRun "yum -y install selinux-policy-minimum selinux-policy-mls selinux-policy-targeted --enablerepo '*' --nobest"
         rlAssertRpm selinux-policy-minimum
         rlAssertRpm selinux-policy-mls
         rlAssertRpm selinux-policy-targeted

^ 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: ensure that selinux-policy-{minimum,mls,targeted} are installed Milos Malik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox