Use tmt for gating tests
Related: RHEL-173745
This commit is contained in:
parent
91aeec5190
commit
fa92fbc651
14
plans/gating.fmf
Normal file
14
plans/gating.fmf
Normal 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
|
||||
7
tests/functions_test/main.fmf
Normal file
7
tests/functions_test/main.fmf
Normal 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
|
||||
@ -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
|
||||
7
tests/tools_not_linked_usr/main.fmf
Normal file
7
tests/tools_not_linked_usr/main.fmf
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user