re-import sources as agreed with the maintainer
This commit is contained in:
parent
f88107780c
commit
4f63f39020
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,2 +1,8 @@
|
||||
SOURCES/nkf-2.1.4.tar.gz
|
||||
/nkf-2.1.4.tar.gz
|
||||
*bz2
|
||||
*gz
|
||||
*rpm
|
||||
nkf204.tar.gz
|
||||
nkf205.tar.gz
|
||||
nkf206a.tar.gz
|
||||
nkf207.tar.gz
|
||||
nkf-2.0.8b.tar.gz
|
||||
|
18
tests/runtest.sh
Normal file
18
tests/runtest.sh
Normal file
@ -0,0 +1,18 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
q="テスト"
|
||||
res=$(echo $q | nkf -W -e | nkf -w -E)
|
||||
ret=1
|
||||
|
||||
if [ x$q = x$res ]; then
|
||||
ret=0
|
||||
mes="PASS"
|
||||
else
|
||||
ret=1
|
||||
mes="FAIL"
|
||||
fi
|
||||
|
||||
echo $mes
|
||||
exit $ret
|
14
tests/tests.yml
Normal file
14
tests/tests.yml
Normal file
@ -0,0 +1,14 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
required_packages:
|
||||
- nkf
|
||||
tests:
|
||||
- simple_test:
|
||||
dir: .
|
||||
run: "nkf --help"
|
||||
- nkf_test:
|
||||
dir: .
|
||||
run: ./runtest.sh
|
Loading…
Reference in New Issue
Block a user