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: add test metadata which were missing
Date: Fri, 11 Sep 2026 13:22:05 GMT [thread overview]
Message-ID: <178913292577.1.15078585453998783333.tests-selinux-239992b45750@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 239992b457504607ff33b2c58b687b2c2fc721b0
Author : Milos Malik <mmalik@redhat.com>
Date : 2024-10-08T07:59:49+00:00
Stats : +14/-6 in 6 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/239992b457504607ff33b2c58b687b2c2fc721b0?branch=pr775-checkpolicy-revdeps
Log:
add test metadata which were missing
Recently created tests were missing FMF ids and Nitrate ids.
Newly created SELinux types are slightly different from what I expected.
Both issues are solved now.
---
diff --git a/selinux-policy/iio-sensor-proxy-and-similar/main.fmf b/selinux-policy/iio-sensor-proxy-and-similar/main.fmf
index 958c0c9..b414ed3 100644
--- a/selinux-policy/iio-sensor-proxy-and-similar/main.fmf
+++ b/selinux-policy/iio-sensor-proxy-and-similar/main.fmf
@@ -38,3 +38,5 @@ adjust:
because: the iio-sensor-proxy package is not available there
extra-summary: /CoreOS/selinux-policy/Regression/iio-sensor-proxy-and-similar
extra-task: /CoreOS/selinux-policy/Regression/iio-sensor-proxy-and-similar
+extra-nitrate: TC#0617897
+id: f951c38a-3013-490f-893a-fb18e9ad7cbb
diff --git a/selinux-policy/iio-sensor-proxy-and-similar/runtest.sh b/selinux-policy/iio-sensor-proxy-and-similar/runtest.sh
index a895535..5e26ab7 100755
--- a/selinux-policy/iio-sensor-proxy-and-similar/runtest.sh
+++ b/selinux-policy/iio-sensor-proxy-and-similar/runtest.sh
@@ -33,9 +33,9 @@ PACKAGE="selinux-policy"
FILE_PATH="/usr/libexec/iio-sensor-proxy"
SERVICE_NAME="iio-sensor-proxy"
PROCESS_NAME="iio-sensor-proxy"
-if seinfo -t | grep -q iio_sensor ; then
- PROCESS_CONTEXT="iio_sensor_proxy_t"
- FILE_CONTEXT="iio_sensor_proxy_exec_t"
+if seinfo -t | grep -q iiosensor ; then
+ PROCESS_CONTEXT="iiosensorproxy_t"
+ FILE_CONTEXT="iiosensorproxy_exec_t"
else
PROCESS_CONTEXT="unconfined_service_t"
FILE_CONTEXT="bin_t"
diff --git a/selinux-policy/power-profiles-daemon-and-similar/main.fmf b/selinux-policy/power-profiles-daemon-and-similar/main.fmf
index 11f64f1..8c790f3 100644
--- a/selinux-policy/power-profiles-daemon-and-similar/main.fmf
+++ b/selinux-policy/power-profiles-daemon-and-similar/main.fmf
@@ -39,3 +39,5 @@ adjust:
because: the power-profiles-daemon package is not available there
extra-summary: /CoreOS/selinux-policy/Regression/power-profiles-daemon-and-similar
extra-task: /CoreOS/selinux-policy/Regression/power-profiles-daemon-and-similar
+extra-nitrate: TC#0617900
+id: 8cbc1f54-edde-4301-a19e-3a4cfe29920d
diff --git a/selinux-policy/power-profiles-daemon-and-similar/runtest.sh b/selinux-policy/power-profiles-daemon-and-similar/runtest.sh
index 06b164d..72e5ea4 100755
--- a/selinux-policy/power-profiles-daemon-and-similar/runtest.sh
+++ b/selinux-policy/power-profiles-daemon-and-similar/runtest.sh
@@ -33,9 +33,9 @@ PACKAGE="selinux-policy"
FILE_PATH="/usr/libexec/power-profiles-daemon"
SERVICE_NAME="power-profiles-daemon"
PROCESS_NAME="power-profiles-daemon"
-if seinfo -t | grep -q power_profile ; then
- PROCESS_CONTEXT="power_profiles_daemon_t"
- FILE_CONTEXT="power_profiles_daemon_exec_t"
+if seinfo -t | grep -q powerprofile ; then
+ PROCESS_CONTEXT="powerprofiles_t"
+ FILE_CONTEXT="powerprofiles_exec_t"
else
PROCESS_CONTEXT="unconfined_service_t"
FILE_CONTEXT="bin_t"
diff --git a/selinux-policy/switcheroo-control-and-similar/main.fmf b/selinux-policy/switcheroo-control-and-similar/main.fmf
index 5674a03..eb2d6bb 100644
--- a/selinux-policy/switcheroo-control-and-similar/main.fmf
+++ b/selinux-policy/switcheroo-control-and-similar/main.fmf
@@ -40,3 +40,5 @@ adjust:
because: the switcheroo-control package is not available there
extra-summary: /CoreOS/selinux-policy/Regression/switcheroo-control-and-similar
extra-task: /CoreOS/selinux-policy/Regression/switcheroo-control-and-similar
+extra-nitrate: TC#0617899
+id: b03995ad-99dc-46ae-a584-d860d8777b74
diff --git a/selinux-policy/systemd-mountfsd-and-similar/main.fmf b/selinux-policy/systemd-mountfsd-and-similar/main.fmf
index 9d36ae7..a9f933f 100644
--- a/selinux-policy/systemd-mountfsd-and-similar/main.fmf
+++ b/selinux-policy/systemd-mountfsd-and-similar/main.fmf
@@ -41,3 +41,5 @@ adjust:
continue: false
extra-summary: /CoreOS/selinux-policy/Regression/systemd-mountfsd-and-similar
extra-task: /CoreOS/selinux-policy/Regression/systemd-mountfsd-and-similar
+extra-nitrate: TC#0617898
+id: c1075a93-3218-475b-9aa2-ea0d1792d853
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=178913292577.1.15078585453998783333.tests-selinux-239992b45750@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