public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: convert metadata of all checkpolicy 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 : 61078d379a26cd4dda08b91778b60008baca2c80
Author : Milos Malik <mmalik@redhat.com>
Date   : 2022-04-26T13:18:49+00:00
Stats  : +185/-11 in 10 file(s)
URL    : https://src.fedoraproject.org/tests/selinux/c/61078d379a26cd4dda08b91778b60008baca2c80?branch=pr775-checkpolicy-revdeps

Log:
convert metadata of all checkpolicy tests to TMT/FMF

---
diff --git a/checkpolicy/checkmodule/main.fmf b/checkpolicy/checkmodule/main.fmf
index 6173448..c990752 100644
--- a/checkpolicy/checkmodule/main.fmf
+++ b/checkpolicy/checkmodule/main.fmf
@@ -1 +1,39 @@
-path: /checkpolicy/checkmodule
+summary: runs checkmodule with various options to find out if it behaves correctly
+description: |+
+    This TC runs checkmodule with various options to find out if it behaves correctly.
+
+contact: Milos Malik <mmalik@redhat.com>
+component:
+  - checkpolicy
+recommend:
+  - checkpolicy
+  - man
+  - grep
+  - mktemp
+  - policycoreutils
+  - policycoreutils-devel
+duration: 10m
+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=1329217
+  - relates: https://bugzilla.redhat.com/show_bug.cgi?id=533796
+  - relates: https://bugzilla.redhat.com/show_bug.cgi?id=588294
+  - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1392394
+  - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1064603
+adjust:
+  - enabled: false
+    when: distro == rhel-4
+    continue: false
+extra-nitrate: TC#0062301
+extra-summary: /CoreOS/checkpolicy/Sanity/checkmodule
+extra-task: /CoreOS/checkpolicy/Sanity/checkmodule

diff --git a/checkpolicy/checkmodule/runtest.sh b/checkpolicy/checkmodule/runtest.sh
old mode 100644
new mode 100755
index 590a799..49dc17f
--- a/checkpolicy/checkmodule/runtest.sh
+++ b/checkpolicy/checkmodule/runtest.sh
@@ -27,7 +27,6 @@
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 # Include rhts environment
-. /usr/bin/rhts-environment.sh
 . /usr/share/beakerlib/beakerlib.sh
 
 PACKAGE="checkpolicy"

diff --git a/checkpolicy/checkpolicy-docs/main.fmf b/checkpolicy/checkpolicy-docs/main.fmf
index f303b47..368c6bd 100644
--- a/checkpolicy/checkpolicy-docs/main.fmf
+++ b/checkpolicy/checkpolicy-docs/main.fmf
@@ -1 +1,37 @@
-path: /checkpolicy/checkpolicy-docs
+summary: covers an issue where manpage included an unsupported option.
+description: |+
+    Description: covers an issue where manpage included an unsupported option.
+
+    Author: Milos Malik <mmalik@redhat.com>
+
+
+contact: Milos Malik <mmalik@redhat.com>
+component:
+  - setools
+  - checkpolicy
+recommend:
+  - checkpolicy
+duration: 1m
+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=1328966
+  - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1328979
+  - relates: https://bugzilla.redhat.com/show_bug.cgi?id=739866
+  - relates: https://bugzilla.redhat.com/show_bug.cgi?id=533790
+adjust:
+  - enabled: false
+    when: distro == rhel-4
+    continue: false
+extra-nitrate: TC#0062302
+extra-summary: /CoreOS/checkpolicy/Sanity/checkpolicy
+extra-task: /CoreOS/checkpolicy/Sanity/checkpolicy

diff --git a/checkpolicy/checkpolicy-docs/runtest.sh b/checkpolicy/checkpolicy-docs/runtest.sh
old mode 100644
new mode 100755
index 83a7079..fc207c9
--- a/checkpolicy/checkpolicy-docs/runtest.sh
+++ b/checkpolicy/checkpolicy-docs/runtest.sh
@@ -27,7 +27,6 @@
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 # Include rhts environment
-. /usr/bin/rhts-environment.sh
 . /usr/share/beakerlib/beakerlib.sh
 
 PACKAGE="checkpolicy"

diff --git a/checkpolicy/checkpolicy/main.fmf b/checkpolicy/checkpolicy/main.fmf
index 0436b60..f11940a 100644
--- a/checkpolicy/checkpolicy/main.fmf
+++ b/checkpolicy/checkpolicy/main.fmf
@@ -1,2 +1,41 @@
-path: /checkpolicy/checkpolicy
-tier: 1
+summary: runs checkpolicy with various options to find out if it behaves correctly
+description: |+
+    Description: runs checkpolicy with various options to find out if it behaves correctly
+
+    Author: Milos Malik <mmalik@redhat.com>
+
+
+contact: Milos Malik <mmalik@redhat.com>
+component:
+  - setools
+  - checkpolicy
+recommend:
+  - checkpolicy
+  - setools-console
+  - selinux-policy-minimum
+  - selinux-policy-mls
+  - selinux-policy-targeted
+duration: 10m
+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=1328966
+  - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1328979
+  - relates: https://bugzilla.redhat.com/show_bug.cgi?id=739866
+  - relates: https://bugzilla.redhat.com/show_bug.cgi?id=533790
+adjust:
+  - enabled: false
+    when: distro == rhel-4
+    continue: false
+extra-nitrate: TC#0062302
+extra-summary: /CoreOS/checkpolicy/Sanity/checkpolicy
+extra-task: /CoreOS/checkpolicy/Sanity/checkpolicy

diff --git a/checkpolicy/checkpolicy/runtest.sh b/checkpolicy/checkpolicy/runtest.sh
old mode 100644
new mode 100755
index 821d735..fda1e8e
--- a/checkpolicy/checkpolicy/runtest.sh
+++ b/checkpolicy/checkpolicy/runtest.sh
@@ -27,7 +27,6 @@
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 # Include rhts environment
-. /usr/bin/rhts-environment.sh
 . /usr/share/beakerlib/beakerlib.sh
 
 PACKAGE="checkpolicy"

diff --git a/checkpolicy/sedismod/main.fmf b/checkpolicy/sedismod/main.fmf
index 05e7b34..4c103ca 100644
--- a/checkpolicy/sedismod/main.fmf
+++ b/checkpolicy/sedismod/main.fmf
@@ -1 +1,34 @@
-path: /checkpolicy/sedismod
+summary: Does sedismod work correctly?
+description: |+
+    Does sedismod work correctly?
+
+contact: Milos Malik <mmalik@redhat.com>
+component:
+  - checkpolicy
+recommend:
+  - checkpolicy
+  - selinux-policy-targeted
+  - expect
+  - policycoreutils
+  - psmisc
+duration: 10m
+enabled: true
+tag:
+  - CI-Tier-1
+  - NoRHEL4
+  - NoRHEL5
+  - TIPpass_Security
+  - Tier2
+  - Tier2se
+  - TierCandidatesPASS
+  - f31friendly
+  - f32friendly
+  - targeted
+tier: '2'
+adjust:
+  - enabled: false
+    when: distro == rhel-4, rhel-5
+    continue: false
+extra-nitrate: TC#0518635
+extra-summary: /CoreOS/checkpolicy/Sanity/sedismod
+extra-task: /CoreOS/checkpolicy/Sanity/sedismod

diff --git a/checkpolicy/sedismod/runtest.sh b/checkpolicy/sedismod/runtest.sh
index 8f86e9e..c15b882 100755
--- a/checkpolicy/sedismod/runtest.sh
+++ b/checkpolicy/sedismod/runtest.sh
@@ -27,7 +27,6 @@
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 # Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
 . /usr/share/beakerlib/beakerlib.sh || exit 1
 
 PACKAGE="checkpolicy"

diff --git a/checkpolicy/sedispol/main.fmf b/checkpolicy/sedispol/main.fmf
index 840a2e0..b141118 100644
--- a/checkpolicy/sedispol/main.fmf
+++ b/checkpolicy/sedispol/main.fmf
@@ -1 +1,34 @@
-path: /checkpolicy/sedispol
+summary: Does sedispol work correctly?
+description: |+
+    Does sedispol work correctly?
+
+contact: Milos Malik <mmalik@redhat.com>
+component:
+  - checkpolicy
+recommend:
+  - checkpolicy
+  - selinux-policy
+  - expect
+duration: 10m
+enabled: true
+tag:
+  - CI-Tier-1
+  - NoRHEL4
+  - NoRHEL5
+  - TIPfail_Security
+  - Tier2
+  - Tier2se
+  - f31friendly
+  - f32friendly
+  - targeted
+tier: '2'
+link:
+  - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1303696
+  - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1337890
+adjust:
+  - enabled: false
+    when: distro == rhel-4, rhel-5
+    continue: false
+extra-nitrate: TC#0518626
+extra-summary: /CoreOS/checkpolicy/Sanity/sedispol
+extra-task: /CoreOS/checkpolicy/Sanity/sedispol

diff --git a/checkpolicy/sedispol/runtest.sh b/checkpolicy/sedispol/runtest.sh
index 5ed441b..3a182e1 100755
--- a/checkpolicy/sedispol/runtest.sh
+++ b/checkpolicy/sedispol/runtest.sh
@@ -27,7 +27,6 @@
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 # Include Beaker environment
-. /usr/bin/rhts-environment.sh || exit 1
 . /usr/share/beakerlib/beakerlib.sh || exit 1
 
 PACKAGE="checkpolicy"

^ 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 checkpolicy 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