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: enable the systemd-oomd test for RHEL-10
Date: Fri, 11 Sep 2026 13:23:23 GMT [thread overview]
Message-ID: <178913300374.1.10760099973613087891.tests-selinux-ff7b5b91471b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : ff7b5b91471b4e7267476045911d97bc66f4424f
Author : Milos Malik <mmalik@redhat.com>
Date : 2025-10-25T08:33:23+02:00
Stats : +9/-4 in 3 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/ff7b5b91471b4e7267476045911d97bc66f4424f?branch=pr775-checkpolicy-revdeps
Log:
enable the systemd-oomd test for RHEL-10
Because the systemd-oomd package is available on RHEL-10, the TC
is also relevant there.
---
diff --git a/selinux-policy/systemd-oomd/Makefile b/selinux-policy/systemd-oomd/Makefile
index d8c2bcd..f1cb2e5 100644
--- a/selinux-policy/systemd-oomd/Makefile
+++ b/selinux-policy/systemd-oomd/Makefile
@@ -60,6 +60,7 @@ $(METADATA): Makefile
@echo "Requires: policycoreutils" >> $(METADATA)
@echo "Requires: selinux-policy" >> $(METADATA)
@echo "Requires: selinux-policy-targeted" >> $(METADATA)
+ @echo "Requires: systemd-oomd" >> $(METADATA)
@echo "RhtsRequires: library(selinux-policy/common)" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2" >> $(METADATA)
@@ -73,7 +74,7 @@ $(METADATA): Makefile
@echo "Releases: -RHEL7" >> $(METADATA)
@echo "Releases: -RHEL8" >> $(METADATA)
@echo "Releases: -RHEL9" >> $(METADATA)
- @echo "Releases: -RHEL10" >> $(METADATA)
+ @echo "Bug: RHEL-106998" >> $(METADATA) # RHEL-10
rhts-lint $(METADATA)
diff --git a/selinux-policy/systemd-oomd/main.fmf b/selinux-policy/systemd-oomd/main.fmf
index 149583d..3131c08 100644
--- a/selinux-policy/systemd-oomd/main.fmf
+++ b/selinux-policy/systemd-oomd/main.fmf
@@ -18,6 +18,7 @@ recommend:
- selinux-policy
- selinux-policy-targeted
- setools-console
+ - systemd-oomd
environment:
AVC_ERROR: +no_avc_check
duration: 5m
@@ -29,11 +30,12 @@ tag:
- NoRHEL7
- NoRHEL8
- NoRHEL9
- - NoRHEL10
- TierCandidatesPASS
- targeted
- NoRHIVOS
+link:
+ - verifies: https://issues.redhat.com/browse/RHEL-106998
adjust+:
- enabled: false
- when: distro == rhel-4, rhel-5, rhel-6, rhel-7, rhel-8, rhel-9, rhel-10
+ when: distro == rhel-4, rhel-5, rhel-6, rhel-7, rhel-8, rhel-9
continue: false
diff --git a/selinux-policy/systemd-oomd/runtest.sh b/selinux-policy/systemd-oomd/runtest.sh
index 6ab389b..dd3e54f 100755
--- a/selinux-policy/systemd-oomd/runtest.sh
+++ b/selinux-policy/systemd-oomd/runtest.sh
@@ -30,6 +30,7 @@
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="selinux-policy"
+SERVICE_PACKAGE="systemd-oomd"
SERVICE_NAME="systemd-oomd"
FILE_PATH="/usr/lib/systemd/systemd-oomd"
FILE_CONTEXT="systemd_oomd_exec_t"
@@ -61,7 +62,7 @@ rlJournalStart
rlSESetTimestamp
rlRun "cat /etc/system-release"
rlRun "uname -a"
- rlRun "rpm -qa \"selinux-*\" \"systemd*\"|sort"
+ rlRun "rpm -qa | grep -e selinux-policy -e systemd | sort"
rlPhaseEnd
rlPhaseStartTest "SELinux contexts and rules"
@@ -146,3 +147,4 @@ EOF
rlPhaseEnd
rlJournalPrintText
rlJournalEnd
+
reply other threads:[~2026-09-11 13:23 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=178913300374.1.10760099973613087891.tests-selinux-ff7b5b91471b@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