Backport smoke tests from Fedora

Related: RHEL-5354
This commit is contained in:
Mikolaj Izdebski 2024-06-13 13:04:17 +02:00
parent 287f17ec25
commit e909cd4246
3 changed files with 18 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

12
plans/smoke.fmf Normal file
View File

@ -0,0 +1,12 @@
summary: Basic smoke test
discover:
how: shell
tests:
- name: /smoke/show-version
test: ant -version
- name: /smoke/show-diagnostics
test: ant -diagnostics
- name: /smoke/hello-world
test: ant -v -f plans/smoke.xml hello
execute:
how: tmt

5
plans/smoke.xml Normal file
View File

@ -0,0 +1,5 @@
<project>
<target name="hello">
<echo message="Hello, world"/>
</target>
</project>