Use tmt for gating tests

Related: RHEL-173745
This commit is contained in:
Filip Suba 2026-04-30 16:32:43 +02:00 committed by Marian Csontos
parent 91aeec5190
commit fa92fbc651
4 changed files with 28 additions and 26 deletions

14
plans/gating.fmf Normal file
View File

@ -0,0 +1,14 @@
summary: device-mapper-persistent-data gating tests
discover:
how: fmf
execute:
how: tmt
provision:
hardware:
memory: ">= 3 GB"
prepare:
how: install
package:
- device-mapper-persistent-data
- which
- python3

View File

@ -0,0 +1,7 @@
summary: Testing thin tools provided by device-mapper-persistent-data
description: |
Verify that thin tools provided by device-mapper-persistent-data work correctly.
component:
- device-mapper-persistent-data
test: ./dmpd_functions.py
duration: 60m

View File

@ -1,26 +0,0 @@
---
# Tests suitable to run in classic environment
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
tests:
- tools_not_linked_usr
- functions_test
required_packages:
- findutils # beakerlib needs find command
- which # tools_not_linked_usr needs which command
# Tests suitable to run in container and atomic environments
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- container
- atomic
tests:
- tools_not_linked_usr
required_packages:
- findutils # beakerlib needs find command
- which # tools_not_linked_usr needs which command

View File

@ -0,0 +1,7 @@
summary: Make sure tools are not using any library that is linked to /usr
description: |
Make sure tools are not using any library that is linked to /usr
component:
- device-mapper-persistent-data
test: ./tools_not_linked_usr.py
duration: 10m