public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: power-profiles-daemon-and-similar: Adjust test relevancy
@ 2026-09-11 13:22 Stepan Broz
  0 siblings, 0 replies; only message in thread
From: Stepan Broz @ 2026-09-11 13:22 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : 4e9e25f314c77715c78ac979c46f9511a303965b
            Author : Stepan Broz <sbroz@redhat.com>
            Date   : 2025-04-17T15:52:35+00:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/4e9e25f314c77715c78ac979c46f9511a303965b?branch=pr775-checkpolicy-revdeps

            Log:
            power-profiles-daemon-and-similar: Adjust test relevancy

Do not test RHEL-61117 on RHEL-9.5 and lower.

---
diff --git a/selinux-policy/power-profiles-daemon-and-similar/runtest.sh b/selinux-policy/power-profiles-daemon-and-similar/runtest.sh
index 6c5561a..fef6400 100755
--- a/selinux-policy/power-profiles-daemon-and-similar/runtest.sh
+++ b/selinux-policy/power-profiles-daemon-and-similar/runtest.sh
@@ -67,7 +67,7 @@ rlJournalStart
         sleep 2
     rlPhaseEnd
 
-    if rlIsRHEL 9 || rlIsCentOS 9 ; then
+    if ( rlIsRHEL 9 && rlIsRHEL ">9.5" ) || rlIsCentOS 9 ; then
     rlPhaseStartTest "RHEL-61117"
         rlSEMatchPathCon ${FILE_PATH} ${FILE_CONTEXT}
         rlSESearchRule "allow powerprofiles_t powerprofiles_t : capability2 { bpf } [ ]"

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

only message in thread, other threads:[~2026-09-11 13:22 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:22 [tests/selinux] pr775-checkpolicy-revdeps: power-profiles-daemon-and-similar: Adjust test relevancy Stepan Broz

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