Add tmt smoke test

This commit is contained in:
Michael Nguyen 2025-03-12 12:11:08 -04:00
parent aec59ff417
commit 533767ec26
4 changed files with 19 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

11
plans/smoke.fmf Normal file
View File

@ -0,0 +1,11 @@
summary: Basic smoke test
discover:
how: fmf
filter: "tag: smoke"
prepare:
- name: packages
how: install
package: [ostree]
execute:
how: tmt

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

@ -0,0 +1,4 @@
summary: runs ostree --version and checks return code
test: ./test.sh
tag:
- smoke

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

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