public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Veronika Syncakova <veva.syncakova@gmail.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] main: Skip the RHEL 110090 phase if iio_device_t is not defined.
Date: Fri, 14 Aug 2026 08:55:40 GMT	[thread overview]
Message-ID: <178669774033.1.3700341497448751287.tests-selinux-332b82ec4eb4@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : main
            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=main

            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"

                 reply	other threads:[~2026-08-14  8:55 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=178669774033.1.3700341497448751287.tests-selinux-332b82ec4eb4@fedoraproject.org \
    --to=veva.syncakova@gmail.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