Compare commits

...

No commits in common. "c9-beta" and "c9s" have entirely different histories.
c9-beta ... c9s

8 changed files with 33 additions and 2 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/uchardet-0.0.6.tar.xz
/uchardet-0.0.5.tar.gz
/uchardet-0.0.6.tar.xz

View File

@ -1 +1 @@
c04257ee7fb5ebbae144311d70b42c1d7efe41b9 SOURCES/uchardet-0.0.6.tar.xz
c04257ee7fb5ebbae144311d70b42c1d7efe41b9 uchardet-0.0.6.tar.xz

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (uchardet-0.0.6.tar.xz) = eceeadae060bf277e298d709856609dde32921271140dc1fb0a33c7b6e1381033fc2960d616ebbd82c92815936864d2c0743b1b5ea1b7d4a200df87df80d6de5

9
tests/basic/test.sh Executable file
View 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
View File

@ -0,0 +1,2 @@
日本語

11
tests/tests.yml Normal file
View File

@ -0,0 +1,11 @@
- hosts: localhost
become: yes
tags:
- classic
roles:
- role: standard-test-basic
required_packages:
- uchardet
tests:
- basic:
run: ./test.sh