run Tier1 tests via TMT/FMF

Use the TMT/FMF instead of STI for running tests. STI does not respect
the adjust section in main.fmf files of stored tests.

Related: rhbz#2107109
This commit is contained in:
Milos Malik 2022-07-11 16:37:37 +02:00 committed by Petr Lautrbach
parent a93ec6ec03
commit 23e658dc1f
5 changed files with 25 additions and 12 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

6
plans/tests.fmf Normal file
View File

@ -0,0 +1,6 @@
summary: Tier 1 setroubleshoot-plugins test plan
discover:
how: fmf
execute:
how: tmt

View File

@ -0,0 +1,18 @@
summary: Make sure all types used in setroubleshoot plugins are defined in the policy
and are not aliases
contact: Vit Mojzis <vmojzis@redhat.com>
component:
- setroubleshoot-plugins
test: ./runtest.sh
framework: beakerlib
recommend:
- git
- libselinux-utils
- setroubleshoot-plugins
- policycoreutils
- selinux-policy-targeted
- python3-policycoreutils
- /usr/bin/python3
duration: 10m
extra-summary: /CoreOS/setroubleshoot-plugins/Regression/use-of-aliases-in-plugins
extra-task: /CoreOS/setroubleshoot-plugins/Regression/use-of-aliases-in-plugins

View File

@ -27,7 +27,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="setroubleshoot-plugins"

View File

@ -1,11 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
tests:
- Regression/use-of-aliases-in-plugins
required_packages:
- setroubleshoot-plugins
- selinux-policy-targeted
- python3-policycoreutils