Backport smoke tests from Fedora
Related: RHEL-5354
This commit is contained in:
parent
287f17ec25
commit
e909cd4246
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
12
plans/smoke.fmf
Normal file
12
plans/smoke.fmf
Normal 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
5
plans/smoke.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<project>
|
||||||
|
<target name="hello">
|
||||||
|
<echo message="Hello, world"/>
|
||||||
|
</target>
|
||||||
|
</project>
|
Loading…
Reference in New Issue
Block a user