public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Stepan Broz <sbroz@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: power-profiles-daemon-and-similar: Adjust test relevancy
Date: Fri, 11 Sep 2026 13:22:34 GMT	[thread overview]
Message-ID: <178913295463.1.17446430947987395496.tests-selinux-4e9e25f314c7@fedoraproject.org> (raw)

            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 } [ ]"

                 reply	other threads:[~2026-09-11 13:22 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=178913295463.1.17446430947987395496.tests-selinux-4e9e25f314c7@fedoraproject.org \
    --to=sbroz@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