public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: boothd-and-similar: Adjust 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 : 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`

^ 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: boothd-and-similar: Adjust 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