Add CI test.
Resolves: rhbz#2011170
This commit is contained in:
parent
17b4e60c6e
commit
af447de795
9
tests/basic/test.sh
Executable file
9
tests/basic/test.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#! /bin/sh
|
||||
|
||||
CWD=`dirname $0`
|
||||
if test x`uchardet $CWD/../tests.yml` != 'xASCII'; then
|
||||
exit 1
|
||||
fi
|
||||
if test x`uchardet $CWD/utf8.txt` != 'xUTF-8'; then
|
||||
exit 1
|
||||
fi
|
2
tests/basic/utf8.txt
Normal file
2
tests/basic/utf8.txt
Normal file
@ -0,0 +1,2 @@
|
||||
日本語
|
||||
|
11
tests/tests.yml
Normal file
11
tests/tests.yml
Normal file
@ -0,0 +1,11 @@
|
||||
- hosts: localhost
|
||||
become: yes
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
required_packages:
|
||||
- uchardet
|
||||
tests:
|
||||
- basic:
|
||||
run: ./test.sh
|
Loading…
Reference in New Issue
Block a user