public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: update relevancy of the bootupd test
@ 2026-09-11 13:21 Milos Malik
0 siblings, 0 replies; only message in thread
From: Milos Malik @ 2026-09-11 13:21 UTC (permalink / raw)
To: git-commits
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"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 13:21 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:21 [tests/selinux] pr775-checkpolicy-revdeps: update relevancy of the bootupd test Milos Malik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox