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
This commit is contained in:
parent
074ef8ad34
commit
769880f739
35 changed files with 35 additions and 6 deletions
1
checkpolicy/checkmodule/main.fmf
Normal file
1
checkpolicy/checkmodule/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: checkpolicy/checkmodule
|
||||
1
checkpolicy/checkpolicy-docs/main.fmf
Normal file
1
checkpolicy/checkpolicy-docs/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: checkpolicy/checkpolicy-docs
|
||||
|
|
@ -1 +1,2 @@
|
|||
path: checkpolicy/checkpolicy
|
||||
tier: 1
|
||||
|
|
|
|||
1
checkpolicy/sedismod/main.fmf
Normal file
1
checkpolicy/sedismod/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: checkpolicy/sedismod
|
||||
1
checkpolicy/sedispol/main.fmf
Normal file
1
checkpolicy/sedispol/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: checkpolicy/sedispol
|
||||
|
|
@ -1 +1,2 @@
|
|||
path: libselinux/getsebool
|
||||
tier: 1
|
||||
|
|
|
|||
1
libselinux/realpath_not_final-function/main.fmf
Normal file
1
libselinux/realpath_not_final-function/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: libselinux/realpath_not_final-function
|
||||
1
libselinux/selabel-functions/main.fmf
Normal file
1
libselinux/selabel-functions/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: libselinux/selabel-functions
|
||||
1
libselinux/selinux_boolean_sub-function/main.fmf
Normal file
1
libselinux/selinux_boolean_sub-function/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: libselinux/selinux_boolean_sub-function
|
||||
1
libselinux/selinux_restorecon-functions/main.fmf
Normal file
1
libselinux/selinux_restorecon-functions/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: libselinux/selinux_restorecon-functions
|
||||
1
libselinux/selinux_restorecon/main.fmf
Normal file
1
libselinux/selinux_restorecon/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: libselinux/selinux_restorecon
|
||||
1
libselinux/selinux_sestatus-functions/main.fmf
Normal file
1
libselinux/selinux_sestatus-functions/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: libselinux/selinux_sestatus-functions
|
||||
1
libselinux/selinux_set_callback/main.fmf
Normal file
1
libselinux/selinux_set_callback/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: libselinux/selinux_set_callback
|
||||
1
libselinux/setenforce/main.fmf
Normal file
1
libselinux/setenforce/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: libselinux/setenforce
|
||||
1
libsemanage/sanity-tests/main.fmf
Normal file
1
libsemanage/sanity-tests/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: libsemanage/sanity-tests
|
||||
|
|
@ -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?
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
path: libsepol/sepol_check_context
|
||||
tier: 1
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
1
policycoreutils/CIL-modules-without-compilation/main.fmf
Normal file
1
policycoreutils/CIL-modules-without-compilation/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: policycoreutils/CIL-modules-without-compilation
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
path: policycoreutils/linux-system-roles.selinux-tests
|
||||
1
policycoreutils/load_policy/main.fmf
Normal file
1
policycoreutils/load_policy/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: policycoreutils/load_policy
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
path: policycoreutils/restorecon
|
||||
component: disabled
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
1
policycoreutils/semanage-interface/main.fmf
Normal file
1
policycoreutils/semanage-interface/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: policycoreutils/semanage-interface
|
||||
1
policycoreutils/semanage-login/main.fmf
Normal file
1
policycoreutils/semanage-login/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: policycoreutils/semanage-login
|
||||
1
policycoreutils/semanage-permissive-d-problems/main.fmf
Normal file
1
policycoreutils/semanage-permissive-d-problems/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: policycoreutils/semanage-permissive-d-problems
|
||||
|
|
@ -0,0 +1 @@
|
|||
path: policycoreutils/semanage-port-add-delete-problems
|
||||
1
policycoreutils/semanage-user/main.fmf
Normal file
1
policycoreutils/semanage-user/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: policycoreutils/semanage-user
|
||||
1
policycoreutils/sepolicy-generate/main.fmf
Normal file
1
policycoreutils/sepolicy-generate/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: policycoreutils/sepolicy-generate
|
||||
1
policycoreutils/sestatus/main.fmf
Normal file
1
policycoreutils/sestatus/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: policycoreutils/sestatus
|
||||
1
policycoreutils/setsebool/main.fmf
Normal file
1
policycoreutils/setsebool/main.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
path: policycoreutils/setsebool
|
||||
|
|
@ -1 +1,2 @@
|
|||
path: selinux-policy/policy-rpm-macros
|
||||
tier: 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue