add tmt gating test

Related: RHELMISC-9588
This commit is contained in:
Michael Nguyen 2025-03-13 08:14:53 -04:00
parent 2bcd8f833d
commit b4d976ab3e
5 changed files with 16 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

6
plans/smoke.fmf Normal file
View File

@ -0,0 +1,6 @@
summary: Basic smoke test
discover:
how: fmf
filter: "tag: smoke"
execute:
how: tmt

2
tests/main.fmf Normal file
View File

@ -0,0 +1,2 @@
require:
- ostree

4
tests/smoke/main.fmf Normal file
View File

@ -0,0 +1,4 @@
summary: run ostree --version
test: ./test.sh
tag:
- smoke

3
tests/smoke/test.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh -eux
ostree --version