Compare commits
No commits in common. "c8-beta" and "c8s" have entirely different histories.
9
.gitignore
vendored
9
.gitignore
vendored
@ -1 +1,8 @@
|
|||||||
SOURCES/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
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
9e981cde5c6a72961af706fd70821fe547039bd3 SOURCES/nkf-2.1.4.tar.gz
|
|
||||||
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-8
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
|
|
||||||
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (nkf-2.1.4.tar.gz) = 8667c20a6c5e9c0c6df7ebe2571bcf24090f04dafd306d32f07312acd659ea026a91d31521b4b213f77aba8218159effd73607d0b7236b7287e4a4cde8cc62b9
|
||||||
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