Add tmt testcase for CI
This commit is contained in:
parent
cb04f6900e
commit
03af465cee
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
5
plans/hunspell.fmf
Normal file
5
plans/hunspell.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
5
tests/main.fmf
Normal file
5
tests/main.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
require:
|
||||
- hunspell
|
||||
- hunspell-de
|
||||
test: bash ./run_tests.sh
|
||||
framework: shell
|
@ -11,7 +11,7 @@ check_pkg() {
|
||||
}
|
||||
|
||||
check_dict() {
|
||||
if [ -f "/usr/share/myspell/de_DE.dic" ]
|
||||
if [ -f "/usr/share/hunspell/de_DE.dic" ]
|
||||
then
|
||||
echo "PASS"
|
||||
else
|
@ -1,12 +0,0 @@
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
required_packages:
|
||||
- hunspell
|
||||
- hunspell-de
|
||||
tests:
|
||||
- simple:
|
||||
dir: scripts
|
||||
run: ./run_tests.sh
|
Loading…
Reference in New Issue
Block a user