public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milos Malik <mmalik@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: update relevancy of the bootupd test
Date: Fri, 11 Sep 2026 13:21:45 GMT	[thread overview]
Message-ID: <178913290501.1.1655035577327177974.tests-selinux-725813a7afd2@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : 725813a7afd252a4a93b56c74a88bb90a239b947
            Author : Milos Malik <mmalik@redhat.com>
            Date   : 2024-06-20T15:12:31+00:00
            Stats  : +5/-6 in 4 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/725813a7afd252a4a93b56c74a88bb90a239b947?branch=pr775-checkpolicy-revdeps

            Log:
            update relevancy of the bootupd test

The bootupd package is built for the following architectures:
 * aarch64
 * ppc64le
 * s390x
 * x86_64

The automated TC should be executed on these architectures too.

---
diff --git a/selinux-policy/bootupd-and-similar/Makefile b/selinux-policy/bootupd-and-similar/Makefile
index 3d0b32d..c7e9ff5 100644
--- a/selinux-policy/bootupd-and-similar/Makefile
+++ b/selinux-policy/bootupd-and-similar/Makefile
@@ -66,6 +66,7 @@ $(METADATA): Makefile
 	@echo "Bug:             2044508" >> $(METADATA) # RHEL-9
 	@echo "Bug:             2218106" >> $(METADATA) # Fedora rawhide
 	@echo "Bug:             RHEL-36289" >> $(METADATA) # RHEL-9
+	@echo "Bug:             RHEL-39514" >> $(METADATA) # RHEL-10
 
 	rhts-lint $(METADATA)
 

diff --git a/selinux-policy/bootupd-and-similar/PURPOSE b/selinux-policy/bootupd-and-similar/PURPOSE
index 2fbf806..d1f7895 100644
--- a/selinux-policy/bootupd-and-similar/PURPOSE
+++ b/selinux-policy/bootupd-and-similar/PURPOSE
@@ -2,5 +2,5 @@ PURPOSE of /CoreOS/selinux-policy/Regression/bootupd-and-similar
 Description: SELinux interferes with the bootupd service and related programs
 Author: Milos Malik <mmalik@redhat.com>
 
-The TC needs a machine with EFI for successful run.
+The TC needs a machine with EFI for a successful run.
 

diff --git a/selinux-policy/bootupd-and-similar/main.fmf b/selinux-policy/bootupd-and-similar/main.fmf
index 2dade23..54fa5e9 100644
--- a/selinux-policy/bootupd-and-similar/main.fmf
+++ b/selinux-policy/bootupd-and-similar/main.fmf
@@ -37,13 +37,11 @@ link:
   - verifies: https://bugzilla.redhat.com/show_bug.cgi?id=2044508
   - verifies: https://bugzilla.redhat.com/show_bug.cgi?id=2218106
   - verifies: https://issues.redhat.com/browse/RHEL-36289
+  - verifies: https://issues.redhat.com/browse/RHEL-39514
 adjust:
   - enabled: false
     when: distro == rhel-4, rhel-5, rhel-6, rhel-7, rhel-8, centos-stream-8
     because: the package is not available there
-  - enabled: false
-    when: arch == ppc64, ppc64le, s390x
-    because: the package is not built for all architectures
 extra-summary: /CoreOS/selinux-policy/Regression/bootupd-and-similar
 extra-task: /CoreOS/selinux-policy/Regression/bootupd-and-similar
 extra-nitrate: TC#0614833

diff --git a/selinux-policy/bootupd-and-similar/runtest.sh b/selinux-policy/bootupd-and-similar/runtest.sh
index 99d2510..5e61d7b 100755
--- a/selinux-policy/bootupd-and-similar/runtest.sh
+++ b/selinux-policy/bootupd-and-similar/runtest.sh
@@ -74,7 +74,7 @@ rlJournalStart
         rlSESearchRule "allow ${PROCESS_CONTEXT} dosfs_t : dir { getattr search } [ ]"
     rlPhaseEnd
 
-    rlPhaseStartTest "RHEL-36289"
+    rlPhaseStartTest "RHEL-36289 + RHEL-39514"
         rlSEMatchPathCon "/usr/libexec/bootupd" "${FILE_CONTEXT}"
         if [ -d /sys/firmware/efi/efivars ] ; then
             rlRun "ls -RlZ /sys/firmware/efi/efivars"
@@ -84,7 +84,7 @@ rlJournalStart
 
     rlPhaseStartTest "real scenario -- standalone service"
         if ! rlSEDefined ${PROCESS_CONTEXT} ; then
-            # for RHELs where the SELinux domain does not exist yet
+            # for OSes where the SELinux domain does not exist yet
             PROCESS_CONTEXT="unconfined_service_t"
         fi
         rlRun "systemctl start ${SERVICE_NAME}.socket"

                 reply	other threads:[~2026-09-11 13:21 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=178913290501.1.1655035577327177974.tests-selinux-725813a7afd2@fedoraproject.org \
    --to=mmalik@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