public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: Skip the RHEL 110090 phase if iio_device_t is not defined.
@ 2026-09-11 13:23 Veronika Syncakova
  0 siblings, 0 replies; only message in thread
From: Veronika Syncakova @ 2026-09-11 13:23 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : 332b82ec4eb44edcdd4d628a95787e82438d7db8
            Author : Veronika Syncakova <veva.syncakova@gmail.com>
            Date   : 2026-08-14T08:39:19+00:00
            Stats  : +2/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/332b82ec4eb44edcdd4d628a95787e82438d7db8?branch=pr775-checkpolicy-revdeps

            Log:
            Skip the RHEL 110090 phase if iio_device_t is not defined.

The test phase is specifically looking for iio_device_t.

---
diff --git a/selinux-policy/iio-sensor-proxy-and-similar/runtest.sh b/selinux-policy/iio-sensor-proxy-and-similar/runtest.sh
index c89bd18..d4b6599 100755
--- a/selinux-policy/iio-sensor-proxy-and-similar/runtest.sh
+++ b/selinux-policy/iio-sensor-proxy-and-similar/runtest.sh
@@ -72,7 +72,9 @@ rlJournalStart
         rlSESearchRule "allow iiosensorproxy_t xdm_t : dbus { send_msg } [ ]"
         rlSESearchRule "allow iiosensorproxy_t iiosensorproxy_t : capability2 { bpf } [ ]"
     rlPhaseEnd
+    fi
 
+    if seinfo -t | grep -q iio_device_t ; then
     rlPhaseStartTest "RHEL-110090"
         rlRun "semanage fcontext -l | grep '/dev/iio:device.*character.*iio_device_t'"
         rlSEMatchPathCon "/dev/iio:device3" "iio_device_t"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 13:23 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:23 [tests/selinux] pr775-checkpolicy-revdeps: Skip the RHEL 110090 phase if iio_device_t is not defined Veronika Syncakova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox