public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: skip the BZ#1845594 test phase on RHEL
@ 2026-09-11 13:18 Milos Malik
  0 siblings, 0 replies; only message in thread
From: Milos Malik @ 2026-09-11 13:18 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : c1aeb02be4024720c2275baefeb8d8feda5a6a66
            Author : Milos Malik <mmalik@redhat.com>
            Date   : 2020-12-01T18:36:45+00:00
            Stats  : +2/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/c1aeb02be4024720c2275baefeb8d8feda5a6a66?branch=pr775-checkpolicy-revdeps

            Log:
            skip the BZ#1845594 test phase on RHEL

It seems that BZ#1845594 cannot be reproduced on RHEL-8. From now
on, the test phase will be executed in Fedora environments only.

---
diff --git a/selinux-policy/swap-file-and-systemd-access/runtest.sh b/selinux-policy/swap-file-and-systemd-access/runtest.sh
index d7af11e..84339ff 100755
--- a/selinux-policy/swap-file-and-systemd-access/runtest.sh
+++ b/selinux-policy/swap-file-and-systemd-access/runtest.sh
@@ -68,10 +68,12 @@ rlJournalStart
         rlSESearchRule "allow systemd_sleep_t sysfs_t : dir { write } [ ]"
     rlPhaseEnd
 
+    if rlIsFedora ; then
     rlPhaseStartTest "bz#1845594"
         rlSEMatchPathCon "/usr/lib/systemd/systemd-logind" "systemd_logind_exec_t"
         rlSESearchRule "allow systemd_logind_t swapfile_t : file { getattr open read ioctl } [ ]"
     rlPhaseEnd
+    fi
 
     if ${REAL_SCENARIOS} ; then
     rlPhaseStartTest "real scenario"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 13:18 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:18 [tests/selinux] pr775-checkpolicy-revdeps: skip the BZ#1845594 test phase on RHEL Milos Malik

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