public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: convert metadata of all policycoreutils tests to TMT/FMF
@ 2026-09-11 13:19 Milos Malik
0 siblings, 0 replies; only message in thread
From: Milos Malik @ 2026-09-11 13:19 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 1bf11b6606efaf02b0b5555e0cae103d7e69ac1f
Author : Milos Malik <mmalik@redhat.com>
Date : 2022-04-26T13:18:49+00:00
Stats : +626/-133 in 44 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/1bf11b6606efaf02b0b5555e0cae103d7e69ac1f?branch=pr775-checkpolicy-revdeps
Log:
convert metadata of all policycoreutils tests to TMT/FMF
---
diff --git a/policycoreutils/CIL-modules-without-compilation/main.fmf b/policycoreutils/CIL-modules-without-compilation/main.fmf
index 02538f7..179a8ee 100644
--- a/policycoreutils/CIL-modules-without-compilation/main.fmf
+++ b/policycoreutils/CIL-modules-without-compilation/main.fmf
@@ -1 +1,31 @@
-path: /policycoreutils/CIL-modules-without-compilation
+summary: What the test does
+description: |+
+ Is it possible to manage policy modules written in CIL without any compilation? Does semanage and semodule understand them?
+
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - /usr/sbin/semodule
+ - /usr/sbin/semanage
+enabled: true
+tag:
+ - CI-Tier-1
+ - NoRHEL4
+ - NoRHEL5
+ - NoRHEL6
+ - TIPpass_Security
+ - Tier1
+ - Tier1se
+ - TierCandidatesPASS
+ - f32friendly
+ - f33friendly
+ - targeted
+tier: '1'
+adjust:
+ - enabled: false
+ when: distro == rhel-4, rhel-5, rhel-6
+ continue: false
+extra-nitrate: TC#0535087
+extra-summary: /CoreOS/policycoreutils/Sanity/CIL-modules-without-compilation
+extra-task: /CoreOS/policycoreutils/Sanity/CIL-modules-without-compilation
diff --git a/policycoreutils/CIL-modules-without-compilation/runtest.sh b/policycoreutils/CIL-modules-without-compilation/runtest.sh
index a121c58..8e96081 100755
--- a/policycoreutils/CIL-modules-without-compilation/runtest.sh
+++ b/policycoreutils/CIL-modules-without-compilation/runtest.sh
@@ -27,7 +27,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/booleans/main.fmf b/policycoreutils/booleans/main.fmf
index 2b7a3ac..5d39c1b 100644
--- a/policycoreutils/booleans/main.fmf
+++ b/policycoreutils/booleans/main.fmf
@@ -1,9 +1,25 @@
-path: /policycoreutils/booleans
-summary: Test basic operations with booleans
-description: |
- The test defines its own booleans and tests setting it on and off
- using setsebool and semanage boolean.
-tier: 1
+summary: Basic operations with booleans
+description: ''
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+enabled: true
+tag:
+ - CI-Tier-1
+ - NoRHEL4
+ - NoRHEL5
+ - NoRHEL6
+ - TIPpass_Security
+ - TierCandidatesPASS
+ - f32friendly
+ - f33friendly
+ - targeted
adjust:
-- enabled: false
- when: distro < rhel-7
+ - enabled: false
+ when: distro == rhel-4, rhel-5, rhel-6
+ continue: false
+extra-nitrate: TC#0571350
+extra-summary: /CoreOS/policycoreutils/Sanity/booleans
+extra-task: /CoreOS/policycoreutils/Sanity/booleans
diff --git a/policycoreutils/booleans/runtest.sh b/policycoreutils/booleans/runtest.sh
index 925d3d9..ab3760e 100755
--- a/policycoreutils/booleans/runtest.sh
+++ b/policycoreutils/booleans/runtest.sh
@@ -26,7 +26,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/file-contexts/main.fmf b/policycoreutils/file-contexts/main.fmf
index 4c27a2c..fe1d35f 100644
--- a/policycoreutils/file-contexts/main.fmf
+++ b/policycoreutils/file-contexts/main.fmf
@@ -1,8 +1,28 @@
-path: /policycoreutils/file-contexts
summary: Test semanage fcontext, restorecon, fixfiles, chcon
-description: |
- The test adds custom file contexts, runs restorecon and checks file
- contexts. The chcon command is also tested.
+description: ''
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+ - policycoreutils-python-utils
+enabled: true
+tag:
+ - CI-Tier-1
+ - NoRHEL4
+ - NoRHEL5
+ - NoRHEL6
+ - TIPpass_Security
+ - TierCandidatesPASS
+ - f32friendly
+ - f33friendly
+ - targeted
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1822100
adjust:
-- enabled: false
- when: distro < rhel-7
+ - enabled: false
+ when: distro == rhel-4, rhel-5, rhel-6
+ continue: false
+extra-nitrate: TC#0576069
+extra-summary: /CoreOS/policycoreutils/Sanity/file-contexts
+extra-task: /CoreOS/policycoreutils/Sanity/file-contexts
diff --git a/policycoreutils/file-contexts/runtest.sh b/policycoreutils/file-contexts/runtest.sh
index c4f28f8..3375f00 100755
--- a/policycoreutils/file-contexts/runtest.sh
+++ b/policycoreutils/file-contexts/runtest.sh
@@ -26,7 +26,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/fixfiles-F-B-N/main.fmf b/policycoreutils/fixfiles-F-B-N/main.fmf
index 70e58e3..1472b82 100644
--- a/policycoreutils/fixfiles-F-B-N/main.fmf
+++ b/policycoreutils/fixfiles-F-B-N/main.fmf
@@ -1,7 +1,7 @@
-path: /policycoreutils/fixfiles-F-B-N
-summary: Test fixfiles [-F] [-B] onboot
-description: |
- Run fixfiles with -F and -B options and check /.autorelabel
-adjust:
-- enabled: false
- when: distro < rhel-7
+summary: Tests fixfiles -F | -B | -N options
+description: ''
+contact: Petr Lautrbach <plautrba@redhat.com>
+component:
+ - policycoreutils
+extra-summary: /CoreOS/policycoreutils/Sanity/fixfiles-F-B-N
+extra-task: /CoreOS/policycoreutils/Sanity/fixfiles-F-B-N
diff --git a/policycoreutils/fixfiles-F-B-N/runtest.sh b/policycoreutils/fixfiles-F-B-N/runtest.sh
index ab401df..34eb5fc 100755
--- a/policycoreutils/fixfiles-F-B-N/runtest.sh
+++ b/policycoreutils/fixfiles-F-B-N/runtest.sh
@@ -26,7 +26,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/linux-system-roles.selinux-tests/main.fmf b/policycoreutils/linux-system-roles.selinux-tests/main.fmf
index df9c7a2..6007bf5 100644
--- a/policycoreutils/linux-system-roles.selinux-tests/main.fmf
+++ b/policycoreutils/linux-system-roles.selinux-tests/main.fmf
@@ -1,2 +1,14 @@
-path: /policycoreutils/linux-system-roles.selinux-tests
-tags: [fedora]
+summary: Run linux-system-roles.selinux (https://github.com/linux-system-roles/selinux.git)
+ Ansible role tests
+description: |
+ Run linux-system-roles.selinux (https://github.com/linux-system-roles/selinux.git) Ansible role tests
+contact: Petr Lautrbach <plautrba@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+ - ansible
+ - git
+duration: 10m
+extra-summary: linux-system-roles.selinux-tests
+extra-task: linux-system-roles.selinux-tests
diff --git a/policycoreutils/linux-system-roles.selinux-tests/runtest.sh b/policycoreutils/linux-system-roles.selinux-tests/runtest.sh
index 1fa3809..20bae06 100755
--- a/policycoreutils/linux-system-roles.selinux-tests/runtest.sh
+++ b/policycoreutils/linux-system-roles.selinux-tests/runtest.sh
@@ -25,7 +25,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/load_policy/main.fmf b/policycoreutils/load_policy/main.fmf
index e375cb8..274d8bd 100644
--- a/policycoreutils/load_policy/main.fmf
+++ b/policycoreutils/load_policy/main.fmf
@@ -1 +1,31 @@
-path: /policycoreutils/load_policy
+summary: Does load_policy work as expected? Does it produce correct audit messages?
+description: |+
+ Does load_policy work as expected? Does it produce correct audit messages?
+
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - audit
+ - policycoreutils
+ - selinux-policy-targeted
+ - initscripts
+enabled: true
+tag:
+ - CI-Tier-1
+ - NoRHEL4
+ - NoRHEL5
+ - TIPpass
+ - TIPpass_Security
+ - TierCandidatesPASS
+ - f32friendly
+ - f33friendly
+ - failinrhel8ci
+ - targeted
+adjust:
+ - enabled: false
+ when: distro == rhel-4, rhel-5
+ continue: false
+extra-nitrate: TC#0542457
+extra-summary: /CoreOS/policycoreutils/Sanity/load_policy
+extra-task: /CoreOS/policycoreutils/Sanity/load_policy
diff --git a/policycoreutils/load_policy/runtest.sh b/policycoreutils/load_policy/runtest.sh
index 2698d94..a0402a9 100755
--- a/policycoreutils/load_policy/runtest.sh
+++ b/policycoreutils/load_policy/runtest.sh
@@ -27,7 +27,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/modules/main.fmf b/policycoreutils/modules/main.fmf
index dc4e4a5..2ec292c 100644
--- a/policycoreutils/modules/main.fmf
+++ b/policycoreutils/modules/main.fmf
@@ -1,12 +1,26 @@
-path: /policycoreutils/modules
-summary: test basic module functionality
-description: |
- The test compiles a TE module, loads it via semodule, and checks
- that the rules are enforced. The same is done with a CIL module.
- Module overriding using priorities and module disabling is also
- tested. This test requires policycoreutils and selinux-policy-devel
- packages.
+summary: Test module compiling and loading
+description: ''
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+ - selinux-policy-devel
duration: 10m
+enabled: true
+tag:
+ - CI-Tier-1
+ - NoRHEL4
+ - NoRHEL5
+ - NoRHEL6
+ - TIPpass_Security
+ - TierCandidatesPASS
+ - f32friendly
+ - f33friendly
adjust:
-- enabled: false
- when: distro < rhel-7
+ - enabled: false
+ when: distro == rhel-4, rhel-5, rhel-6
+ continue: false
+extra-nitrate: TC#0571503
+extra-summary: /CoreOS/policycoreutils/Sanity/modules
+extra-task: /CoreOS/policycoreutils/Sanity/modules
diff --git a/policycoreutils/modules/runtest.sh b/policycoreutils/modules/runtest.sh
index 280c831..408d04c 100755
--- a/policycoreutils/modules/runtest.sh
+++ b/policycoreutils/modules/runtest.sh
@@ -26,7 +26,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/org-selinux-dbus-interfaces/main.fmf b/policycoreutils/org-selinux-dbus-interfaces/main.fmf
index 8ecc4af..40a568b 100644
--- a/policycoreutils/org-selinux-dbus-interfaces/main.fmf
+++ b/policycoreutils/org-selinux-dbus-interfaces/main.fmf
@@ -1,9 +1,33 @@
-path: /policycoreutils/org-selinux-dbus-interfaces
summary: Do the D-bus interfaces/methods of /org/selinux/object work as expected?
-description: |
- Do the D-bus interfaces/methods of /org/selinux/object work as expected?
+description: ''
+contact: Milos Malik <mmalik@redhat.com>
component:
-- policycoreutils
+ - policycoreutils
+recommend:
+ - dbus-tools
+ - policycoreutils-dbus
+ - selinux-policy-minimum
+ - selinux-policy-mls
+ - selinux-policy-targeted
+duration: 10m
+enabled: true
+tag:
+ - NoRHEL4
+ - NoRHEL5
+ - NoRHEL6
+ - TIPfail
+ - TIPfail_Security
+ - TierCandidatesPASS
+ - f32friendly
+ - f33friendly
+ - targeted
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1415988
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1754873
adjust:
-- enabled: false
- when: distro < rhel-8
+ - enabled: false
+ when: distro == rhel-4, rhel-5, rhel-6
+ continue: false
+extra-nitrate: TC#0546187
+extra-summary: /CoreOS/policycoreutils/Sanity/org-selinux-dbus-interfaces
+extra-task: /CoreOS/policycoreutils/Sanity/org-selinux-dbus-interfaces
diff --git a/policycoreutils/org-selinux-dbus-interfaces/runtest.sh b/policycoreutils/org-selinux-dbus-interfaces/runtest.sh
index 14779a5..720fe5a 100755
--- a/policycoreutils/org-selinux-dbus-interfaces/runtest.sh
+++ b/policycoreutils/org-selinux-dbus-interfaces/runtest.sh
@@ -27,7 +27,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/restorecon/main.fmf b/policycoreutils/restorecon/main.fmf
index 90bf595..d6fc352 100644
--- a/policycoreutils/restorecon/main.fmf
+++ b/policycoreutils/restorecon/main.fmf
@@ -1,2 +1,55 @@
-path: /policycoreutils/restorecon
-tier: 1
+summary: does restorecon work correctly ?
+description: |
+ Does restorecon work correctly?
+
+
+ Description: does restorecon work correctly ?
+
+ Author: Milos Malik <mmalik@redhat.com>
+
+ Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=736153
+
+ Description:
+ touch test
+ chcon -u staff_u -t shadow_t -l s0:c1 test
+ restorecon test
+ ls -lZ test
+ You should still see the user as staff_u and the level as s0:c1 but the type should be changed.
+ restorecon -F test
+ You should see the user become system_u and the level become s0
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+ - grep
+ - e2fsprogs
+ - libselinux
+ - selinux-policy-devel
+ - libselinux-utils
+duration: 15m
+enabled: true
+tag:
+ - CI-Tier-1
+ - NoRHEL4
+ - TIPpass_Security
+ - Tier1
+ - Tier1se
+ - f31friendly
+ - f32friendly
+ - targeted
+tier: '1'
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=739587
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=767568
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=741555
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=736153
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=741371
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=740669
+adjust:
+ - enabled: false
+ when: distro == rhel-4
+ continue: false
+extra-nitrate: TC#0111587
+extra-summary: /CoreOS/policycoreutils/Sanity/restorecon
+extra-task: /CoreOS/policycoreutils/Sanity/restorecon
diff --git a/policycoreutils/restorecon/runtest.sh b/policycoreutils/restorecon/runtest.sh
index 9ab71d7..115b612 100755
--- a/policycoreutils/restorecon/runtest.sh
+++ b/policycoreutils/restorecon/runtest.sh
@@ -27,7 +27,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include rhts environment
-. /usr/bin/rhts-environment.sh
. /usr/share/beakerlib/beakerlib.sh
PACKAGE="policycoreutils"
diff --git a/policycoreutils/sctp_test/main.fmf b/policycoreutils/sctp_test/main.fmf
index dad2354..c82f8da 100644
--- a/policycoreutils/sctp_test/main.fmf
+++ b/policycoreutils/sctp_test/main.fmf
@@ -1,12 +1,16 @@
-path: /policycoreutils/sctp_test
-summary: Is SCTP supported by "semanage port"?
-description: |
- Simulates a use case where a user wants to confine a client-server application communicating over SCTP
- Bug summary: semanage port does not support SCTP protocol
- Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1563742
-component:
-- policycoreutils
-- libsemanage
-adjust:
-- enabled: false
- when: distro < rhel-8
+summary: Test for BZ#1563742 (RFE add SCTP protocol support to semanage port)
+contact: vmojzis <vmojzis@redhat.com>
+recommend:
+ - git
+ - libselinux-utils
+ - policycoreutils
+ - lksctp-tools
+ - psmisc
+ - /usr/sbin/semanage
+ - /usr/sbin/semodule
+duration: 10m
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1563742
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1770238
+extra-summary: /selinux/policycoreutils/sctp_test
+extra-task: /selinux/policycoreutils/sctp_test
diff --git a/policycoreutils/sctp_test/runtest.sh b/policycoreutils/sctp_test/runtest.sh
index ee18ced..39572be 100755
--- a/policycoreutils/sctp_test/runtest.sh
+++ b/policycoreutils/sctp_test/runtest.sh
@@ -29,7 +29,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/selinux-autorelabel-service/main.fmf b/policycoreutils/selinux-autorelabel-service/main.fmf
index 6b8d0eb..82c489a 100644
--- a/policycoreutils/selinux-autorelabel-service/main.fmf
+++ b/policycoreutils/selinux-autorelabel-service/main.fmf
@@ -1,2 +1,34 @@
-path: /policycoreutils/selinux-autorelabel-service
-tier: 2
+summary: incorrectly set StandardInput and StandardOutput of selinux-autorelabel service
+description: |+
+ Description: incorrectly set StandardInput and StandardOutput of selinux-autorelabel service
+
+ Bugzilla links:
+ * https://bugzilla.redhat.com/show_bug.cgi?id=1766578
+ * https://bugzilla.redhat.com/show_bug.cgi?id=1778094
+
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+enabled: true
+tag:
+ - NoRHEL4
+ - NoRHEL5
+ - NoRHEL6
+ - NoRHEL7
+ - TIPpass
+ - TIPpass_Security
+ - f32friendly
+ - f33friendly
+ - targeted
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1766578
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1778094
+adjust:
+ - enabled: false
+ when: distro == rhel-4, rhel-5, rhel-6, rhel-7
+ continue: false
+extra-nitrate: TC#0605819
+extra-summary: /CoreOS/policycoreutils/Regression/selinux-autorelabel-service
+extra-task: /CoreOS/policycoreutils/Regression/selinux-autorelabel-service
diff --git a/policycoreutils/selinux-autorelabel-service/runtest.sh b/policycoreutils/selinux-autorelabel-service/runtest.sh
index 49fca5b..2244e2c 100755
--- a/policycoreutils/selinux-autorelabel-service/runtest.sh
+++ b/policycoreutils/selinux-autorelabel-service/runtest.sh
@@ -26,7 +26,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/selinux-info/main.fmf b/policycoreutils/selinux-info/main.fmf
index a3a9057..94d42af 100644
--- a/policycoreutils/selinux-info/main.fmf
+++ b/policycoreutils/selinux-info/main.fmf
@@ -1,9 +1,26 @@
-path: /policycoreutils/selinux-info
-summary: test sestatus, avcstat, getenforce
-description: |
- Test that output of sestatus matches information in /sys/fs/selinux.
- Test that avcstat works. Test getenforce. Warning: this tests runs
- setenforce.
+summary: Test sestatus, avcstat, getenforce and other information gathering tools
+description: ''
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+duration: 1m
+enabled: true
+tag:
+ - CI-Tier-1
+ - NoRHEL4
+ - NoRHEL5
+ - NoRHEL6
+ - TIPpass_Security
+ - TierCandidatesPASS
+ - f32friendly
+ - f33friendly
+ - targeted
adjust:
-- enabled: false
- when: distro < rhel-7
+ - enabled: false
+ when: distro == rhel-4, rhel-5, rhel-6
+ continue: false
+extra-nitrate: TC#0571360
+extra-summary: /CoreOS/policycoreutils/Sanity/selinux-info
+extra-task: /CoreOS/policycoreutils/Sanity/selinux-info
diff --git a/policycoreutils/selinux-info/runtest.sh b/policycoreutils/selinux-info/runtest.sh
index 13a92e6..5e71cb2 100755
--- a/policycoreutils/selinux-info/runtest.sh
+++ b/policycoreutils/selinux-info/runtest.sh
@@ -26,7 +26,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/semanage-interface/main.fmf b/policycoreutils/semanage-interface/main.fmf
index 4fd3a5e..f24537b 100644
--- a/policycoreutils/semanage-interface/main.fmf
+++ b/policycoreutils/semanage-interface/main.fmf
@@ -1 +1,32 @@
-path: /policycoreutils/semanage-interface
+summary: Does semanage interface ... work correctly?
+description: ''
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+ - policycoreutils-python-utils
+ - grep
+ - selinux-policy-minimum
+ - selinux-policy-mls
+ - selinux-policy-targeted
+duration: 20m
+enabled: true
+tag:
+ - CI-Tier-1
+ - NoRHEL4
+ - TIPpass_Security
+ - TierCandidatesPASS
+ - f32friendly
+ - f33friendly
+ - rhel-7.0
+ - targeted
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=953826
+adjust:
+ - enabled: false
+ when: distro == rhel-4
+ continue: false
+extra-nitrate: TC#0092119
+extra-summary: /CoreOS/policycoreutils/Regression/semanage-interface
+extra-task: /CoreOS/policycoreutils/Regression/semanage-interface
diff --git a/policycoreutils/semanage-interface/runtest.sh b/policycoreutils/semanage-interface/runtest.sh
index ba8608b..70dbbc7 100755
--- a/policycoreutils/semanage-interface/runtest.sh
+++ b/policycoreutils/semanage-interface/runtest.sh
@@ -27,7 +27,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/semanage-login/main.fmf b/policycoreutils/semanage-login/main.fmf
index 9a2165f..b518544 100644
--- a/policycoreutils/semanage-login/main.fmf
+++ b/policycoreutils/semanage-login/main.fmf
@@ -1 +1,33 @@
-path: /policycoreutils/semanage-login
+summary: Does semanage login ... work correctly?
+description: ''
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+ - policycoreutils-python-utils
+ - grep
+ - shadow-utils
+ - selinux-policy-minimum
+ - selinux-policy-mls
+ - selinux-policy-targeted
+duration: 10m
+enabled: true
+tag:
+ - CI-Tier-1
+ - NoRHEL4
+ - TIPpass_Security
+ - TierCandidatesPASS
+ - f32friendly
+ - f33friendly
+ - rhel-7.0
+ - targeted
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=953826
+adjust:
+ - enabled: false
+ when: distro == rhel-4
+ continue: false
+extra-nitrate: TC#0092123
+extra-summary: /CoreOS/policycoreutils/Regression/semanage-login
+extra-task: /CoreOS/policycoreutils/Regression/semanage-login
diff --git a/policycoreutils/semanage-login/runtest.sh b/policycoreutils/semanage-login/runtest.sh
index a69d21a..97111d8 100755
--- a/policycoreutils/semanage-login/runtest.sh
+++ b/policycoreutils/semanage-login/runtest.sh
@@ -27,7 +27,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/semanage-permissive-d-problems/main.fmf b/policycoreutils/semanage-permissive-d-problems/main.fmf
index 50e8c68..3256315 100644
--- a/policycoreutils/semanage-permissive-d-problems/main.fmf
+++ b/policycoreutils/semanage-permissive-d-problems/main.fmf
@@ -1 +1,18 @@
-path: /policycoreutils/semanage-permissive-d-problems
+summary: semanage permissive -d accepts more than domain types, its behavior is not
+ reliable
+description: |+
+ Does semanage permissive work correctly?
+
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+ - policycoreutils-python-utils
+ - policycoreutils-devel
+ - selinux-policy-devel
+ - grep
+ - coreutils
+duration: 20m
+extra-summary: /CoreOS/policycoreutils/Regression/semanage-permissive-d-problems
+extra-task: /CoreOS/policycoreutils/Regression/semanage-permissive-d-problems
diff --git a/policycoreutils/semanage-permissive-d-problems/runtest.sh b/policycoreutils/semanage-permissive-d-problems/runtest.sh
index 67a5b3e..1d33e4c 100755
--- a/policycoreutils/semanage-permissive-d-problems/runtest.sh
+++ b/policycoreutils/semanage-permissive-d-problems/runtest.sh
@@ -27,7 +27,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include rhts environment
-. /usr/bin/rhts-environment.sh
. /usr/share/beakerlib/beakerlib.sh
PACKAGE="policycoreutils"
diff --git a/policycoreutils/semanage-port-add-delete-problems/main.fmf b/policycoreutils/semanage-port-add-delete-problems/main.fmf
index f2655dc..d0609a9 100644
--- a/policycoreutils/semanage-port-add-delete-problems/main.fmf
+++ b/policycoreutils/semanage-port-add-delete-problems/main.fmf
@@ -1 +1,18 @@
-path: /policycoreutils/semanage-port-add-delete-problems
+summary: semanage accepts invalid port numbers and then cannot delete them
+description: |+
+ semanage accepts invalid port numbers and then cannot delete them
+
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+ - policycoreutils-python-utils
+ - setools-console
+ - libselinux
+ - libselinux-utils
+ - coreutils
+ - grep
+duration: 15m
+extra-summary: /CoreOS/policycoreutils/Regression/semanage-port-add-delete-problems
+extra-task: /CoreOS/policycoreutils/Regression/semanage-port-add-delete-problems
diff --git a/policycoreutils/semanage-port-add-delete-problems/runtest.sh b/policycoreutils/semanage-port-add-delete-problems/runtest.sh
index ef13e5f..2069299 100755
--- a/policycoreutils/semanage-port-add-delete-problems/runtest.sh
+++ b/policycoreutils/semanage-port-add-delete-problems/runtest.sh
@@ -26,7 +26,6 @@
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/semanage-user/main.fmf b/policycoreutils/semanage-user/main.fmf
index 0111538..761cd94 100644
--- a/policycoreutils/semanage-user/main.fmf
+++ b/policycoreutils/semanage-user/main.fmf
@@ -1 +1,35 @@
-path: /policycoreutils/semanage-user
+summary: Does semanage user ... work correctly?
+description: ''
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+ - policycoreutils-python-utils
+ - grep
+ - selinux-policy-devel
+ - selinux-policy-minimum
+ - selinux-policy-mls
+ - selinux-policy-targeted
+ - selinux-policy-devel
+duration: 20m
+enabled: true
+tag:
+ - CI-Tier-1
+ - NoRHEL4
+ - TIPpass_Security
+ - TierCandidatesPASS
+ - f32friendly
+ - f33friendly
+ - rhel-7.0
+ - targeted
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=953826
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=987444
+adjust:
+ - enabled: false
+ when: distro == rhel-4
+ continue: false
+extra-nitrate: TC#0092120
+extra-summary: /CoreOS/policycoreutils/Regression/semanage-user
+extra-task: /CoreOS/policycoreutils/Regression/semanage-user
diff --git a/policycoreutils/semanage-user/runtest.sh b/policycoreutils/semanage-user/runtest.sh
index b2413fb..eb4035d 100755
--- a/policycoreutils/semanage-user/runtest.sh
+++ b/policycoreutils/semanage-user/runtest.sh
@@ -27,7 +27,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/semodule-l-checksum/main.fmf b/policycoreutils/semodule-l-checksum/main.fmf
index 68b9946..5b72615 100644
--- a/policycoreutils/semodule-l-checksum/main.fmf
+++ b/policycoreutils/semodule-l-checksum/main.fmf
@@ -1,8 +1,12 @@
-path: /policycoreutils/semodule-l-checksum
summary: Test semodule -l --checksum
-description: |
- semodule -l --checksum shows sha256 checksum of loaded modules and this test is supposed to test it
-duration: 10m
-adjust:
-- enabled: false
- when: distro < rhel-8
+description: ''
+contact: Petr Lautrbach <plautrba@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+ - selinux-policy-devel
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1731501
+extra-summary: /CoreOS/policycoreutils/Sanity/bz1731501-Test-semodule-l-checksum
+extra-task: /CoreOS/policycoreutils/Sanity/bz1731501-Test-semodule-l-checksum
diff --git a/policycoreutils/semodule-l-checksum/runtest.sh b/policycoreutils/semodule-l-checksum/runtest.sh
index 898a9c7..5096fbc 100755
--- a/policycoreutils/semodule-l-checksum/runtest.sh
+++ b/policycoreutils/semodule-l-checksum/runtest.sh
@@ -26,7 +26,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/sepolicy-generate/main.fmf b/policycoreutils/sepolicy-generate/main.fmf
index 29abfee..878ee66 100644
--- a/policycoreutils/sepolicy-generate/main.fmf
+++ b/policycoreutils/sepolicy-generate/main.fmf
@@ -1 +1,39 @@
-path: /policycoreutils/sepolicy-generate
+summary: sepolicy generate sanity test
+description: ''
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+ - policycoreutils-devel
+ - rpm-build
+duration: 115m
+enabled: true
+tag:
+ - NoRHEL4
+ - NoRHEL5
+ - NoRHEL6
+ - TIPpass_FIPS
+ - TIPpass_Security
+ - Tier3
+ - Tier3se
+ - TipWaived7
+ - f31friendly
+ - f32friendly
+ - targeted
+tier: '3'
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1271324
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=924686
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1512590
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=924696
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=962752
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=924107
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=924121
+adjust:
+ - enabled: false
+ when: distro == rhel-4, rhel-5, rhel-6
+ continue: false
+extra-nitrate: TC#0248603
+extra-summary: /CoreOS/policycoreutils/Sanity/sepolicy-generate
+extra-task: /CoreOS/policycoreutils/Sanity/sepolicy-generate
diff --git a/policycoreutils/sepolicy-generate/runtest.sh b/policycoreutils/sepolicy-generate/runtest.sh
index e318ecc..e51e519 100755
--- a/policycoreutils/sepolicy-generate/runtest.sh
+++ b/policycoreutils/sepolicy-generate/runtest.sh
@@ -27,7 +27,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="policycoreutils"
diff --git a/policycoreutils/sestatus/main.fmf b/policycoreutils/sestatus/main.fmf
index 0ca1ec2..22f1a56 100644
--- a/policycoreutils/sestatus/main.fmf
+++ b/policycoreutils/sestatus/main.fmf
@@ -1 +1,32 @@
-path: /policycoreutils/sestatus
+summary: tests everything about sestatus
+description: |4
+
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - policycoreutils
+ - grep
+ - man
+enabled: true
+tag:
+ - CI-Tier-1
+ - NoRHEL4
+ - TIPpass_Security
+ - Tier1
+ - Tier1se
+ - f31friendly
+ - f32friendly
+ - targeted
+tier: '1'
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=705027
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=705031
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1723859
+adjust:
+ - enabled: false
+ when: distro == rhel-4
+ continue: false
+extra-nitrate: TC#0103609
+extra-summary: /CoreOS/policycoreutils/Sanity/sestatus
+extra-task: /CoreOS/policycoreutils/Sanity/sestatus
diff --git a/policycoreutils/sestatus/runtest.sh b/policycoreutils/sestatus/runtest.sh
old mode 100644
new mode 100755
index 14ad828..c8c73d2
--- a/policycoreutils/sestatus/runtest.sh
+++ b/policycoreutils/sestatus/runtest.sh
@@ -27,7 +27,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include rhts environment
-. /usr/bin/rhts-environment.sh
. /usr/share/beakerlib/beakerlib.sh
PACKAGE="policycoreutils"
diff --git a/policycoreutils/setfiles/main.fmf b/policycoreutils/setfiles/main.fmf
index 78018a0..e49118d 100644
--- a/policycoreutils/setfiles/main.fmf
+++ b/policycoreutils/setfiles/main.fmf
@@ -1,17 +1,29 @@
summary: Basic sanity tests for setfiles
-description: Basic sanity tests for setfiles
-contact: Petr Lautrbach <plautrba@redhat.com>
-path: /policycoreutils/setfiles
+description: ''
+contact: Milos Malik <mmalik@redhat.com>
component:
-- policycoreutils
-framework: beakerlib
-require:
-- e2fsprogs
-- policycoreutils
-duration: 5m
-tier: 1
+ - policycoreutils
+recommend:
+ - policycoreutils
+duration: 30m
enabled: true
-adjust:
- enabled: false
- when: distro ~< rhel-8.4
- because: not expected to be fixed in RHEL-8 below 8.4
+tag:
+ - CI-Tier-1
+ - TIPfail_Security
+ - Tier1
+ - Tier1se
+ - f31friendly
+ - f32friendly
+ - targeted
+tier: '1'
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1098062
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1086572
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1086456
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1271326
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1271327
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1584116
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1794518
+extra-nitrate: TC#0392756
+extra-summary: /CoreOS/policycoreutils/Sanity/setfiles
+extra-task: /CoreOS/policycoreutils/Sanity/setfiles
diff --git a/policycoreutils/setfiles_binary/main.fmf b/policycoreutils/setfiles_binary/main.fmf
index d33a243..9c1c4f8 100644
--- a/policycoreutils/setfiles_binary/main.fmf
+++ b/policycoreutils/setfiles_binary/main.fmf
@@ -1,22 +1,25 @@
summary: setfiles should allow checking given path against binary policy
-description: >
- setfiles didn't allow using "-c" parameter (binary policy) when path
- was specified. Verify that setfiles now gives the same results
- regardless of weather binary policy was provided.
-contact: Vit Mojzis <vmojzis@redhat.com>
-path: /policycoreutils/setfiles_binary
+description: ''
+contact: Milos Malik <mmalik@redhat.com>
component:
- - policycoreutils
-framework: beakerlib
-require:
- - e2fsprogs
- - policycoreutils
- - rpm
- - cpio
-duration: 5m
-tier: 1
+ - policycoreutils
+recommend:
+ - policycoreutils
+ - rpm
+ - cpio
enabled: true
+tag:
+ - NoRHEL4
+ - NoRHEL5
+ - NoRHEL6
+ - NoRHEL7
+ - targeted
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1973754
adjust:
- enabled: false
- when: distro ~< rhel-8.4
- because: not expected to be fixed in RHEL-8 below 8.4
+ - enabled: false
+ when: distro == rhel-4, rhel-5, rhel-6, rhel-7
+ continue: false
+extra-nitrate: TC#0611169
+extra-summary: /CoreOS/policycoreutils/Sanity/setfiles_binary
+extra-task: /CoreOS/policycoreutils/Sanity/setfiles_binary
diff --git a/policycoreutils/setsebool/main.fmf b/policycoreutils/setsebool/main.fmf
index 7da7113..3ff5791 100644
--- a/policycoreutils/setsebool/main.fmf
+++ b/policycoreutils/setsebool/main.fmf
@@ -1 +1,44 @@
-path: /policycoreutils/setsebool
+summary: does setsebool work correctly ?
+description: |+
+ Does setsebool work as expected? Does it produce correct audit messages?
+
+contact: Milos Malik <mmalik@redhat.com>
+component:
+ - policycoreutils
+recommend:
+ - audit
+ - policycoreutils
+ - libselinux-utils
+ - shadow-utils
+ - grep
+duration: 45m
+enabled: true
+tag:
+ - CI-Tier-1
+ - NoRHEL4
+ - TIPpass
+ - TIPpass_FIPS
+ - TIPpass_Security
+ - Tier1
+ - Tier1se
+ - TipWaived7
+ - f31friendly
+ - f33friendly
+ - failinrhel8ci
+ - targeted
+tier: '1'
+link:
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1002529
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=856550
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1029965
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=953917
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=825176
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=666365
+ - relates: https://bugzilla.redhat.com/show_bug.cgi?id=998974
+adjust:
+ - enabled: false
+ when: distro == rhel-4
+ continue: false
+extra-nitrate: TC#0078073
+extra-summary: /CoreOS/policycoreutils/Sanity/setsebool
+extra-task: /CoreOS/policycoreutils/Sanity/setsebool
diff --git a/policycoreutils/setsebool/runtest.sh b/policycoreutils/setsebool/runtest.sh
index 202d641..36357f7 100755
--- a/policycoreutils/setsebool/runtest.sh
+++ b/policycoreutils/setsebool/runtest.sh
@@ -27,7 +27,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include rhts environment
-. /usr/bin/rhts-environment.sh
. /usr/share/beakerlib/beakerlib.sh
PACKAGE="policycoreutils"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 13:19 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:19 [tests/selinux] pr775-checkpolicy-revdeps: convert metadata of all policycoreutils tests to TMT/FMF Milos Malik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox