public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: instruct TMT to expect SELinux denials
@ 2026-09-11 13:23 Milos Malik
  0 siblings, 0 replies; only message in thread
From: Milos Malik @ 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 : 53baf4175fa3b28cdc3fbbfb50cfc63606db0f46
            Author : Milos Malik <mmalik@redhat.com>
            Date   : 2026-04-13T07:30:27+00:00
            Stats  : +3/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/53baf4175fa3b28cdc3fbbfb50cfc63606db0f46?branch=pr775-checkpolicy-revdeps

            Log:
            instruct TMT to expect SELinux denials

The /selinux-policy/kernel-confined-exec test intentionally triggers
SELinux denials. TMT framework sees them as a problem unless told
otherwise. From now on, the TMT will expect them.

---
diff --git a/selinux-policy/kernel-confined-exec/main.fmf b/selinux-policy/kernel-confined-exec/main.fmf
index 4c49618..2a4a76e 100644
--- a/selinux-policy/kernel-confined-exec/main.fmf
+++ b/selinux-policy/kernel-confined-exec/main.fmf
@@ -14,6 +14,9 @@ require:
   - gcc
 environment:
     AVC_ERROR: +no_avc_check
+check:
+  - how: avc
+    result: xfail
 duration: 20m
 tier: 2
 enabled: true

^ 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: instruct TMT to expect SELinux denials Milos Malik

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