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 the Tier test plans
Date: Fri, 11 Sep 2026 13:20:15 GMT [thread overview]
Message-ID: <178913281549.1.5844118021906471336.tests-selinux-61ef9e61853e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 61ef9e61853e9b3a3b3713817cd71915e3673c7b
Author : Milos Malik <mmalik@redhat.com>
Date : 2022-11-02T08:10:34+00:00
Stats : +97/-0 in 4 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/61ef9e61853e9b3a3b3713817cd71915e3673c7b?branch=pr775-checkpolicy-revdeps
Log:
add the Tier test plans
Purpose of the Tier1 test plan is to gather all Tier1 tests in this
repository.
Purpose of the Tier2 test plan is to gather all Tier2 tests in this
repository.
Purpose of the Tier3 test plan is to gather all Tier3 tests in this
repository.
---
diff --git a/libsepol/user-declaration-in-module/Makefile b/libsepol/user-declaration-in-module/Makefile
new file mode 100644
index 0000000..5bb9656
--- /dev/null
+++ b/libsepol/user-declaration-in-module/Makefile
@@ -0,0 +1,64 @@
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+# Makefile of /CoreOS/libsepol/Sanity/user-declaration-in-module
+# Description: Can libsepol handle users declared in modules?
+# Author: Petr Lautrbach <plautrba@redhat.com>
+#
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+# Copyright (c) 2022 Red Hat, Inc.
+#
+# This copyrighted material is made available to anyone wishing
+# to use, modify, copy, or redistribute it subject to the terms
+# and conditions of the GNU General Public License version 2.
+#
+# This program is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with this program; if not, write to the Free
+# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+# Boston, MA 02110-1301, USA.
+#
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+export TEST=/CoreOS/libsepol/Sanity/user-declaration-in-module
+export TESTVERSION=1.0
+
+BUILT_FILES=
+
+FILES=$(METADATA) test.sh foo.te Makefile
+
+.PHONY: all install download clean
+
+run: $(FILES) build
+ ./runtest.sh
+
+build: $(BUILT_FILES)
+ test -x test.sh || chmod a+x test.sh
+
+clean:
+ rm -f *~ $(BUILT_FILES)
+
+include /usr/share/rhts/lib/rhts-make.include
+
+$(METADATA): Makefile
+ @echo "Owner: Petr Lautrbach <plautrba@redhat.com>" > $(METADATA)
+ @echo "Name: $(TEST)" >> $(METADATA)
+ @echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
+ @echo "Path: $(TEST_DIR)" >> $(METADATA)
+ @echo "Description: Can libsepol handle users declared in modules?" >> $(METADATA)
+ @echo "Type: Sanity" >> $(METADATA)
+ @echo "TestTime: 5m" >> $(METADATA)
+ @echo "RunFor: libsepol" >> $(METADATA)
+ @echo "Requires: libsepol-devel selinux-policy-devel" >> $(METADATA)
+ @echo "Priority: Normal" >> $(METADATA)
+ @echo "License: GPLv2" >> $(METADATA)
+ @echo "Confidential: no" >> $(METADATA)
+ @echo "Destructive: no" >> $(METADATA)
+ @echo "Bug: 2136212" >> $(METADATA) # RHEL-9
+
+ rhts-lint $(METADATA)
+
diff --git a/plans/tier1.fmf b/plans/tier1.fmf
new file mode 100644
index 0000000..f311437
--- /dev/null
+++ b/plans/tier1.fmf
@@ -0,0 +1,11 @@
+summary: Tier1 test plan
+adjust:
+- when: trigger == commit
+ enabled: false
+ because: do not run this plan on changes caused by a PR/MR
+discover:
+ how: fmf
+ filter: tier:1 | tag:CI-Tier-1
+execute:
+ how: tmt
+
diff --git a/plans/tier2.fmf b/plans/tier2.fmf
new file mode 100644
index 0000000..f424e5c
--- /dev/null
+++ b/plans/tier2.fmf
@@ -0,0 +1,11 @@
+summary: Tier2 test plan
+adjust:
+- when: trigger == commit
+ enabled: false
+ because: do not run this plan on changes caused by a PR/MR
+discover:
+ how: fmf
+ filter: tier:2
+execute:
+ how: tmt
+
diff --git a/plans/tier3.fmf b/plans/tier3.fmf
new file mode 100644
index 0000000..8ee071d
--- /dev/null
+++ b/plans/tier3.fmf
@@ -0,0 +1,11 @@
+summary: Tier3 test plan
+adjust:
+- when: trigger == commit
+ enabled: false
+ because: do not run this plan on changes caused by a PR/MR
+discover:
+ how: fmf
+ filter: tier:3
+execute:
+ how: tmt
+
reply other threads:[~2026-09-11 13:20 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=178913281549.1.5844118021906471336.tests-selinux-61ef9e61853e@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