Compare commits
No commits in common. "c8" and "c8s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
16
.gitignore
vendored
16
.gitignore
vendored
@ -1 +1,15 @@
|
|||||||
SOURCES/libpsl-0.20.2.tar.gz
|
/libpsl-0.5.0.tar.gz
|
||||||
|
/libpsl-0.5.1.tar.gz
|
||||||
|
/libpsl-0.6.2.tar.gz
|
||||||
|
/libpsl-0.7.0.tar.gz
|
||||||
|
/libpsl-0.7.1.tar.gz
|
||||||
|
/libpsl-0.12.0.tar.gz
|
||||||
|
/libpsl-0.13.0.tar.gz
|
||||||
|
/libpsl-0.14.0.tar.gz
|
||||||
|
/libpsl-0.15.0.tar.gz
|
||||||
|
/libpsl-0.16.1.tar.gz
|
||||||
|
/libpsl-0.17.0.tar.gz
|
||||||
|
/libpsl-0.18.0.tar.gz
|
||||||
|
/libpsl-0.19.1.tar.gz
|
||||||
|
/libpsl-0.20.1.tar.gz
|
||||||
|
/libpsl-0.20.2.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
890376d6038652911cfa853ccfb5b993ae0743ee SOURCES/libpsl-0.20.2.tar.gz
|
|
6
ci.fmf
Normal file
6
ci.fmf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
summary:
|
||||||
|
Run all tests
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: shell
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-8
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.other.functional}
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (libpsl-0.20.2.tar.gz) = fa9f6f7f0447d9fe00f5dfca5262c56ff26217eea44d0f7fc1e5d982224c41874e753f0aa06dd9e5d7d03d4f04e3dacd4f36034cc8dd0fc6e2c28b49a23e62fe
|
1
tests/psl-smoke/.gitignore
vendored
Normal file
1
tests/psl-smoke/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/psl-output.txt
|
4
tests/psl-smoke/main.fmf
Normal file
4
tests/psl-smoke/main.fmf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
summary: Basic test based on psl executable
|
||||||
|
test: ./runtest.sh
|
||||||
|
require:
|
||||||
|
- psl
|
41
tests/psl-smoke/psl-input.txt
Normal file
41
tests/psl-smoke/psl-input.txt
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
.
|
||||||
|
.com
|
||||||
|
.ieee
|
||||||
|
aeroclub.aero
|
||||||
|
alibaba
|
||||||
|
australia.museum
|
||||||
|
bugzilla.redhat.com
|
||||||
|
christmas
|
||||||
|
christmas.fun
|
||||||
|
city.kawasaki.jp
|
||||||
|
co.cz
|
||||||
|
co.us
|
||||||
|
com.ag
|
||||||
|
cz.eu.org
|
||||||
|
debian.net
|
||||||
|
dudka.cz
|
||||||
|
dyn-o-saur.com
|
||||||
|
eu.com
|
||||||
|
football
|
||||||
|
fr
|
||||||
|
fukushima.jp
|
||||||
|
gitlab.io
|
||||||
|
gov.kg
|
||||||
|
host
|
||||||
|
iki.fi
|
||||||
|
is.gov.pl
|
||||||
|
kawakita.ishikawa.jp
|
||||||
|
kdudka.guru
|
||||||
|
kdudka.transurl.eu
|
||||||
|
no-ip.co.uk
|
||||||
|
org
|
||||||
|
org.ac
|
||||||
|
realm.cz
|
||||||
|
redhat.com
|
||||||
|
static-access.net
|
||||||
|
us.org
|
||||||
|
us-east-1.amazonaws.com
|
||||||
|
xxx.kawasaki.jp
|
||||||
|
個人.香港
|
||||||
|
組织.hk
|
||||||
|
鹿児島.jp
|
41
tests/psl-smoke/psl-output-expected.txt
Normal file
41
tests/psl-smoke/psl-output-expected.txt
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
.: 1 (.)
|
||||||
|
.com: 1 (.com)
|
||||||
|
.ieee: 1 (.ieee)
|
||||||
|
aeroclub.aero: 1 (aeroclub.aero)
|
||||||
|
alibaba: 1 (alibaba)
|
||||||
|
australia.museum: 1 (australia.museum)
|
||||||
|
bugzilla.redhat.com: 0 (bugzilla.redhat.com)
|
||||||
|
christmas: 1 (christmas)
|
||||||
|
christmas.fun: 0 (christmas.fun)
|
||||||
|
city.kawasaki.jp: 0 (city.kawasaki.jp)
|
||||||
|
co.cz: 1 (co.cz)
|
||||||
|
co.us: 1 (co.us)
|
||||||
|
com.ag: 1 (com.ag)
|
||||||
|
cz.eu.org: 1 (cz.eu.org)
|
||||||
|
debian.net: 1 (debian.net)
|
||||||
|
dudka.cz: 0 (dudka.cz)
|
||||||
|
dyn-o-saur.com: 1 (dyn-o-saur.com)
|
||||||
|
eu.com: 1 (eu.com)
|
||||||
|
football: 1 (football)
|
||||||
|
fr: 1 (fr)
|
||||||
|
fukushima.jp: 1 (fukushima.jp)
|
||||||
|
gitlab.io: 1 (gitlab.io)
|
||||||
|
gov.kg: 1 (gov.kg)
|
||||||
|
host: 1 (host)
|
||||||
|
iki.fi: 1 (iki.fi)
|
||||||
|
is.gov.pl: 1 (is.gov.pl)
|
||||||
|
kawakita.ishikawa.jp: 1 (kawakita.ishikawa.jp)
|
||||||
|
kdudka.guru: 0 (kdudka.guru)
|
||||||
|
kdudka.transurl.eu: 1 (kdudka.transurl.eu)
|
||||||
|
no-ip.co.uk: 1 (no-ip.co.uk)
|
||||||
|
org: 1 (org)
|
||||||
|
org.ac: 1 (org.ac)
|
||||||
|
realm.cz: 1 (realm.cz)
|
||||||
|
redhat.com: 0 (redhat.com)
|
||||||
|
static-access.net: 1 (static-access.net)
|
||||||
|
us.org: 1 (us.org)
|
||||||
|
us-east-1.amazonaws.com: 1 (us-east-1.amazonaws.com)
|
||||||
|
xxx.kawasaki.jp: 1 (xxx.kawasaki.jp)
|
||||||
|
個人.香港: 1 (個人.香港)
|
||||||
|
組织.hk: 1 (組织.hk)
|
||||||
|
鹿児島.jp: 1 (鹿児島.jp)
|
18
tests/psl-smoke/runtest.sh
Executable file
18
tests/psl-smoke/runtest.sh
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# exit immediately if any command returns non-zero exit code
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# print commands as they are executed by the shell interpreter
|
||||||
|
set -x
|
||||||
|
|
||||||
|
# print versions of related pkgs
|
||||||
|
rpm -q {,lib}psl libidn2
|
||||||
|
psl --version
|
||||||
|
ldd /usr/bin/psl
|
||||||
|
|
||||||
|
# process the test input with (lib)psl
|
||||||
|
psl < psl-input.txt > psl-output.txt
|
||||||
|
|
||||||
|
# compare the output with expected output
|
||||||
|
diff -u psl-output{-expected,}.txt
|
Loading…
Reference in New Issue
Block a user