public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Petr Lautrbach <lautrbach@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] main: Reverse-dependency checkpolicy test plan
Date: Mon, 14 Sep 2026 14:49:45 GMT [thread overview]
Message-ID: <178939738532.1.13424391346242101445.tests-selinux-698ebbb69a94@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : main
Commit : 698ebbb69a9482bfdad2f75f88894b0f931371f8
Author : Petr Lautrbach <lautrbach@redhat.com>
Date : 2026-09-14T14:57:38+02:00
Stats : +31/-0 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/698ebbb69a9482bfdad2f75f88894b0f931371f8?branch=main
Log:
Reverse-dependency checkpolicy test plan
Rebuilds checkpolicy package from its source RPM and installs it to the system.
This is necessary for checkpolicy reverse dependecy testing - checkpolicy statically links
libsepol-static and so we need to rebuild checkpolicy and run checkpolicy tests every time
libsepol is updated.
---
diff --git a/plans/revdeps-checkpolicy.fmf b/plans/revdeps-checkpolicy.fmf
new file mode 100644
index 0000000..6a8396c
--- /dev/null
+++ b/plans/revdeps-checkpolicy.fmf
@@ -0,0 +1,31 @@
+summary: Reverse-dependency checkpolicy tests
+
+description: |+
+ Rebuilds checkpolicy package from its source RPM and installs it to the system.
+ This is necessary for checkpolicy reverse dependecy testing - checkpolicy statically links
+ libsepol-static and so we need to rebuild checkpolicy and run checkpolicy tests every time
+ libsepol is updated.
+
+environment:
+ INSTALL_CHECKPOLICY_RPM: true
+prepare:
+ - name: Install epel-release
+ how: shell
+ script: bash -c "dnf -y install epel-release || :"
+ order: 10
+ - name: Enable CRB repo
+ how: shell
+ script: bash -c "crb enable || :"
+ order: 10
+
+discover:
+ - name: rebuild and install checkpolicy
+ how: fmf
+ test:
+ - /other/rebuild-and-install-checkpolicy
+ - name: Run checkpolicy tests
+ how: fmf
+ filter: "component: checkpolicy & tag: -tf_broken"
+
+execute:
+ how: tmt
reply other threads:[~2026-09-14 14:49 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=178939738532.1.13424391346242101445.tests-selinux-698ebbb69a94@fedoraproject.org \
--to=lautrbach@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