Add tmt smoke test
This commit is contained in:
parent
aec59ff417
commit
533767ec26
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
11
plans/smoke.fmf
Normal file
11
plans/smoke.fmf
Normal 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
4
tests/smoke/main.fmf
Normal 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
3
tests/smoke/test.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
ostree --version
|
Loading…
Reference in New Issue
Block a user