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:
parent
a93ec6ec03
commit
23e658dc1f
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
6
plans/tests.fmf
Normal file
6
plans/tests.fmf
Normal file
@ -0,0 +1,6 @@
|
||||
summary: Tier 1 setroubleshoot-plugins test plan
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
18
tests/Regression/use-of-aliases-in-plugins/main.fmf
Normal file
18
tests/Regression/use-of-aliases-in-plugins/main.fmf
Normal 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
|
||||
@ -27,7 +27,6 @@
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# Include Beaker environment
|
||||
. /usr/bin/rhts-environment.sh || exit 1
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="setroubleshoot-plugins"
|
||||
|
||||
@ -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
|
||||
Loading…
Reference in New Issue
Block a user