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: boothd-and-similar: Adjust relevancy
Date: Fri, 11 Sep 2026 13:22:35 GMT	[thread overview]
Message-ID: <178913295521.1.15487474173770385058.tests-selinux-1fcc75ae8393@fedoraproject.org> (raw)

            A new commit has been pushed.

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

            Log:
            boothd-and-similar: Adjust relevancy

Don't test RHEL-57104 + RHEL-58060 and RHEL-57104 on RHEL-9.5 or lower.

Test still FAILs in real-scenario on RHEL-9.5 and lower.

---
diff --git a/selinux-policy/boothd-and-similar/runtest.sh b/selinux-policy/boothd-and-similar/runtest.sh
index ad7948e..e32dae0 100755
--- a/selinux-policy/boothd-and-similar/runtest.sh
+++ b/selinux-policy/boothd-and-similar/runtest.sh
@@ -60,7 +60,7 @@ rlJournalStart
         sleep 2
     rlPhaseEnd
 
-    if seinfo -t | grep -q boothd ; then
+    if seinfo -t | grep -q boothd && ! rlIsRHEL "<9.6" && ! rlIsCentOS "<9.6" ; then
     rlPhaseStartTest "RHEL-45907"
         rlSEMatchPathCon "${FILE_PATH}" "${FILE_CONTEXT}"
         rlSEMatchPathCon "/run/systemd/userdb" "systemd_userdbd_runtime_t"
@@ -80,7 +80,7 @@ rlJournalStart
     rlPhaseEnd
     fi
 
-    if [ -f /usr/lib/systemd/system/${SERVICE_NAME}.service ] ; then
+    if [ -f /usr/lib/systemd/system/${SERVICE_NAME}.service ]; then
     rlPhaseStartTest "real scenario -- standalone service"
         IF_NAME=`route | grep default | awk '{ print $8 }'`
         IP_ADDRESS=`ip addr show ${IF_NAME} | grep 'inet ' | cut -d / -f 1 | awk '{ print $2 }' | head -n 1`

                 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=178913295521.1.15487474173770385058.tests-selinux-1fcc75ae8393@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