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:
Petr Šplíchal 2018-10-08 12:24:19 +02:00 committed by Petr Lautrbach
commit 769880f739
35 changed files with 35 additions and 6 deletions

View file

@ -0,0 +1 @@
path: checkpolicy/checkmodule

View file

@ -0,0 +1 @@
path: checkpolicy/checkpolicy-docs

View file

@ -1 +1,2 @@
path: checkpolicy/checkpolicy
tier: 1

View file

@ -0,0 +1 @@
path: checkpolicy/sedismod

View file

@ -0,0 +1 @@
path: checkpolicy/sedispol

View file

@ -1 +1,2 @@
path: libselinux/getsebool
tier: 1

View file

@ -0,0 +1 @@
path: libselinux/realpath_not_final-function

View file

@ -0,0 +1 @@
path: libselinux/selabel-functions

View file

@ -0,0 +1 @@
path: libselinux/selinux_boolean_sub-function

View file

@ -0,0 +1 @@
path: libselinux/selinux_restorecon-functions

View file

@ -0,0 +1 @@
path: libselinux/selinux_restorecon

View file

@ -0,0 +1 @@
path: libselinux/selinux_sestatus-functions

View file

@ -0,0 +1 @@
path: libselinux/selinux_set_callback

View file

@ -0,0 +1 @@
path: libselinux/setenforce

View file

@ -0,0 +1 @@
path: libsemanage/sanity-tests

View file

@ -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?

View file

@ -1 +1,2 @@
path: libsepol/sepol_check_context
tier: 1

View file

@ -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

View file

@ -0,0 +1 @@
path: policycoreutils/CIL-modules-without-compilation

View file

@ -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

View file

@ -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

View file

@ -0,0 +1 @@
path: policycoreutils/linux-system-roles.selinux-tests

View file

@ -0,0 +1 @@
path: policycoreutils/load_policy

View file

@ -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

View file

@ -1 +1,2 @@
path: policycoreutils/restorecon
component: disabled

View file

@ -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.

View file

@ -0,0 +1 @@
path: policycoreutils/semanage-interface

View file

@ -0,0 +1 @@
path: policycoreutils/semanage-login

View file

@ -0,0 +1 @@
path: policycoreutils/semanage-permissive-d-problems

View file

@ -0,0 +1 @@
path: policycoreutils/semanage-port-add-delete-problems

View file

@ -0,0 +1 @@
path: policycoreutils/semanage-user

View file

@ -0,0 +1 @@
path: policycoreutils/sepolicy-generate

View file

@ -0,0 +1 @@
path: policycoreutils/sestatus

View file

@ -0,0 +1 @@
path: policycoreutils/setsebool

View file

@ -1 +1,2 @@
path: selinux-policy/policy-rpm-macros
tier: 1