public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: Define path metadata for each test
@ 2026-09-11 13:17
0 siblings, 0 replies; only message in thread
From: @ 2026-09-11 13:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 769880f73971efa54f7971e73b981e014d52532f
Author : Petr Šplíchal <psplicha@redhat.com>
Date : 2018-10-11T10:45:08+02:00
Stats : +35/-6 in 35 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/769880f73971efa54f7971e73b981e014d52532f?branch=pr775-checkpolicy-revdeps
Log:
Define path metadata for each test
Adding attribute "path" to each test according to the CI metadata
specification [1]. This also resolves problem with autodetecting
empty directories [2] which will be fixed in the next fmf release.
[1] https://fedoraproject.org/wiki/CI/Metadata#Path
[2] https://github.com/psss/fmf/pull/48
---
diff --git a/checkpolicy/checkmodule/main.fmf b/checkpolicy/checkmodule/main.fmf
new file mode 100644
index 0000000..76283e3
--- /dev/null
+++ b/checkpolicy/checkmodule/main.fmf
@@ -0,0 +1 @@
+path: checkpolicy/checkmodule
diff --git a/checkpolicy/checkpolicy-docs/main.fmf b/checkpolicy/checkpolicy-docs/main.fmf
new file mode 100644
index 0000000..0b8f194
--- /dev/null
+++ b/checkpolicy/checkpolicy-docs/main.fmf
@@ -0,0 +1 @@
+path: checkpolicy/checkpolicy-docs
diff --git a/checkpolicy/checkpolicy/main.fmf b/checkpolicy/checkpolicy/main.fmf
index c54f87b..cb8ef85 100644
--- a/checkpolicy/checkpolicy/main.fmf
+++ b/checkpolicy/checkpolicy/main.fmf
@@ -1 +1,2 @@
+path: checkpolicy/checkpolicy
tier: 1
diff --git a/checkpolicy/sedismod/main.fmf b/checkpolicy/sedismod/main.fmf
new file mode 100644
index 0000000..ef20f3d
--- /dev/null
+++ b/checkpolicy/sedismod/main.fmf
@@ -0,0 +1 @@
+path: checkpolicy/sedismod
diff --git a/checkpolicy/sedispol/main.fmf b/checkpolicy/sedispol/main.fmf
new file mode 100644
index 0000000..11f57bd
--- /dev/null
+++ b/checkpolicy/sedispol/main.fmf
@@ -0,0 +1 @@
+path: checkpolicy/sedispol
diff --git a/libselinux/getsebool/main.fmf b/libselinux/getsebool/main.fmf
index c54f87b..21347a9 100644
--- a/libselinux/getsebool/main.fmf
+++ b/libselinux/getsebool/main.fmf
@@ -1 +1,2 @@
+path: libselinux/getsebool
tier: 1
diff --git a/libselinux/realpath_not_final-function/main.fmf b/libselinux/realpath_not_final-function/main.fmf
new file mode 100644
index 0000000..5934ded
--- /dev/null
+++ b/libselinux/realpath_not_final-function/main.fmf
@@ -0,0 +1 @@
+path: libselinux/realpath_not_final-function
diff --git a/libselinux/selabel-functions/main.fmf b/libselinux/selabel-functions/main.fmf
new file mode 100644
index 0000000..d77cbbc
--- /dev/null
+++ b/libselinux/selabel-functions/main.fmf
@@ -0,0 +1 @@
+path: libselinux/selabel-functions
diff --git a/libselinux/selinux_boolean_sub-function/main.fmf b/libselinux/selinux_boolean_sub-function/main.fmf
new file mode 100644
index 0000000..7978c03
--- /dev/null
+++ b/libselinux/selinux_boolean_sub-function/main.fmf
@@ -0,0 +1 @@
+path: libselinux/selinux_boolean_sub-function
diff --git a/libselinux/selinux_restorecon-functions/main.fmf b/libselinux/selinux_restorecon-functions/main.fmf
new file mode 100644
index 0000000..1ff4890
--- /dev/null
+++ b/libselinux/selinux_restorecon-functions/main.fmf
@@ -0,0 +1 @@
+path: libselinux/selinux_restorecon-functions
diff --git a/libselinux/selinux_restorecon/main.fmf b/libselinux/selinux_restorecon/main.fmf
new file mode 100644
index 0000000..180e98c
--- /dev/null
+++ b/libselinux/selinux_restorecon/main.fmf
@@ -0,0 +1 @@
+path: libselinux/selinux_restorecon
diff --git a/libselinux/selinux_sestatus-functions/main.fmf b/libselinux/selinux_sestatus-functions/main.fmf
new file mode 100644
index 0000000..e0c2397
--- /dev/null
+++ b/libselinux/selinux_sestatus-functions/main.fmf
@@ -0,0 +1 @@
+path: libselinux/selinux_sestatus-functions
diff --git a/libselinux/selinux_set_callback/main.fmf b/libselinux/selinux_set_callback/main.fmf
new file mode 100644
index 0000000..2348fdf
--- /dev/null
+++ b/libselinux/selinux_set_callback/main.fmf
@@ -0,0 +1 @@
+path: libselinux/selinux_set_callback
diff --git a/libselinux/setenforce/main.fmf b/libselinux/setenforce/main.fmf
new file mode 100644
index 0000000..56bb2b1
--- /dev/null
+++ b/libselinux/setenforce/main.fmf
@@ -0,0 +1 @@
+path: libselinux/setenforce
diff --git a/libsemanage/sanity-tests/main.fmf b/libsemanage/sanity-tests/main.fmf
new file mode 100644
index 0000000..23f27aa
--- /dev/null
+++ b/libsemanage/sanity-tests/main.fmf
@@ -0,0 +1 @@
+path: libsemanage/sanity-tests
diff --git a/libsemanage/verify-options-in-semanage-conf/main.fmf b/libsemanage/verify-options-in-semanage-conf/main.fmf
index ac156f4..145a742 100644
--- a/libsemanage/verify-options-in-semanage-conf/main.fmf
+++ b/libsemanage/verify-options-in-semanage-conf/main.fmf
@@ -1,4 +1,4 @@
-path: /libsemanage/verify-options-in-semanage-conf
+path: libsemanage/verify-options-in-semanage-conf
summary: Are the verify options in semanage.conf honored?
description: |
Are the verify options in semanage.conf honored?
diff --git a/libsepol/sepol_check_context/main.fmf b/libsepol/sepol_check_context/main.fmf
index c54f87b..77fa35e 100644
--- a/libsepol/sepol_check_context/main.fmf
+++ b/libsepol/sepol_check_context/main.fmf
@@ -1 +1,2 @@
+path: libsepol/sepol_check_context
tier: 1
diff --git a/other/mounting/main.fmf b/other/mounting/main.fmf
index a695b6f..b888c55 100644
--- a/other/mounting/main.fmf
+++ b/other/mounting/main.fmf
@@ -1,4 +1,4 @@
-path: /other/mounting
+path: other/mounting
summary: Mount various filesystems, test context options
description: |
Test the context and defcontext options of the mount command. Test
diff --git a/policycoreutils/CIL-modules-without-compilation/main.fmf b/policycoreutils/CIL-modules-without-compilation/main.fmf
new file mode 100644
index 0000000..3cf065f
--- /dev/null
+++ b/policycoreutils/CIL-modules-without-compilation/main.fmf
@@ -0,0 +1 @@
+path: policycoreutils/CIL-modules-without-compilation
diff --git a/policycoreutils/booleans/main.fmf b/policycoreutils/booleans/main.fmf
index 642a947..e068d31 100644
--- a/policycoreutils/booleans/main.fmf
+++ b/policycoreutils/booleans/main.fmf
@@ -1,4 +1,4 @@
-path: /policycoreutils/booleans
+path: policycoreutils/booleans
summary: Test basic operations with booleans
description: |
The test defines its own booleans and tests setting it on and off
diff --git a/policycoreutils/file-contexts/main.fmf b/policycoreutils/file-contexts/main.fmf
index ea7225a..b01ed2d 100644
--- a/policycoreutils/file-contexts/main.fmf
+++ b/policycoreutils/file-contexts/main.fmf
@@ -1,4 +1,4 @@
-path: /policycoreutils/file-contexts
+path: policycoreutils/file-contexts
summary: Test semanage fcontext, restorecon, fixfiles, chcon
description: |
The test adds custom file contexts, runs restorecon and checks file
diff --git a/policycoreutils/linux-system-roles.selinux-tests/main.fmf b/policycoreutils/linux-system-roles.selinux-tests/main.fmf
new file mode 100644
index 0000000..e176ef6
--- /dev/null
+++ b/policycoreutils/linux-system-roles.selinux-tests/main.fmf
@@ -0,0 +1 @@
+path: policycoreutils/linux-system-roles.selinux-tests
diff --git a/policycoreutils/load_policy/main.fmf b/policycoreutils/load_policy/main.fmf
new file mode 100644
index 0000000..26f8622
--- /dev/null
+++ b/policycoreutils/load_policy/main.fmf
@@ -0,0 +1 @@
+path: policycoreutils/load_policy
diff --git a/policycoreutils/modules/main.fmf b/policycoreutils/modules/main.fmf
index 3b5d389..34727de 100644
--- a/policycoreutils/modules/main.fmf
+++ b/policycoreutils/modules/main.fmf
@@ -1,4 +1,4 @@
-path: /policycoreutils/modules
+path: policycoreutils/modules
summary: test basic module functionality
description: |
The test compiles a TE module, loads it via semodule, and checks
diff --git a/policycoreutils/restorecon/main.fmf b/policycoreutils/restorecon/main.fmf
index f8b3a0c..be078b5 100644
--- a/policycoreutils/restorecon/main.fmf
+++ b/policycoreutils/restorecon/main.fmf
@@ -1 +1,2 @@
+path: policycoreutils/restorecon
component: disabled
diff --git a/policycoreutils/selinux-info/main.fmf b/policycoreutils/selinux-info/main.fmf
index 4ce0eb4..e8ade66 100644
--- a/policycoreutils/selinux-info/main.fmf
+++ b/policycoreutils/selinux-info/main.fmf
@@ -1,4 +1,4 @@
-path: /policycoreutils/selinux-info
+path: policycoreutils/selinux-info
summary: test sestatus, avcstat, getenforce
description: |
Test that output of sestatus matches information in /sys/fs/selinux.
diff --git a/policycoreutils/semanage-interface/main.fmf b/policycoreutils/semanage-interface/main.fmf
new file mode 100644
index 0000000..e0f4109
--- /dev/null
+++ b/policycoreutils/semanage-interface/main.fmf
@@ -0,0 +1 @@
+path: policycoreutils/semanage-interface
diff --git a/policycoreutils/semanage-login/main.fmf b/policycoreutils/semanage-login/main.fmf
new file mode 100644
index 0000000..d6e070e
--- /dev/null
+++ b/policycoreutils/semanage-login/main.fmf
@@ -0,0 +1 @@
+path: policycoreutils/semanage-login
diff --git a/policycoreutils/semanage-permissive-d-problems/main.fmf b/policycoreutils/semanage-permissive-d-problems/main.fmf
new file mode 100644
index 0000000..d0e4020
--- /dev/null
+++ b/policycoreutils/semanage-permissive-d-problems/main.fmf
@@ -0,0 +1 @@
+path: policycoreutils/semanage-permissive-d-problems
diff --git a/policycoreutils/semanage-port-add-delete-problems/main.fmf b/policycoreutils/semanage-port-add-delete-problems/main.fmf
new file mode 100644
index 0000000..7a88299
--- /dev/null
+++ b/policycoreutils/semanage-port-add-delete-problems/main.fmf
@@ -0,0 +1 @@
+path: policycoreutils/semanage-port-add-delete-problems
diff --git a/policycoreutils/semanage-user/main.fmf b/policycoreutils/semanage-user/main.fmf
new file mode 100644
index 0000000..8a1a9c7
--- /dev/null
+++ b/policycoreutils/semanage-user/main.fmf
@@ -0,0 +1 @@
+path: policycoreutils/semanage-user
diff --git a/policycoreutils/sepolicy-generate/main.fmf b/policycoreutils/sepolicy-generate/main.fmf
new file mode 100644
index 0000000..85b06ad
--- /dev/null
+++ b/policycoreutils/sepolicy-generate/main.fmf
@@ -0,0 +1 @@
+path: policycoreutils/sepolicy-generate
diff --git a/policycoreutils/sestatus/main.fmf b/policycoreutils/sestatus/main.fmf
new file mode 100644
index 0000000..6532d4b
--- /dev/null
+++ b/policycoreutils/sestatus/main.fmf
@@ -0,0 +1 @@
+path: policycoreutils/sestatus
diff --git a/policycoreutils/setsebool/main.fmf b/policycoreutils/setsebool/main.fmf
new file mode 100644
index 0000000..aa43e88
--- /dev/null
+++ b/policycoreutils/setsebool/main.fmf
@@ -0,0 +1 @@
+path: policycoreutils/setsebool
diff --git a/selinux-policy/policy-rpm-macros/main.fmf b/selinux-policy/policy-rpm-macros/main.fmf
index c54f87b..facad3b 100644
--- a/selinux-policy/policy-rpm-macros/main.fmf
+++ b/selinux-policy/policy-rpm-macros/main.fmf
@@ -1 +1,2 @@
+path: selinux-policy/policy-rpm-macros
tier: 1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 13:17 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:17 [tests/selinux] pr775-checkpolicy-revdeps: Define path metadata for each test
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox