Enable gating on RHEL9
Resolves: rhbz#1972624 Signed-off-by: Jianwen Ji <jiji@redhat.com>
This commit is contained in:
parent
e1a225dda0
commit
8dc34f32da
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-9
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
34
tests/tests.yml
Normal file
34
tests/tests.yml
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# Tests for conntrack-tools
|
||||||
|
- hosts: localhost
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
roles:
|
||||||
|
- role: standard-test-source
|
||||||
|
- role: standard-test-basic
|
||||||
|
required_packages:
|
||||||
|
- gcc
|
||||||
|
- make
|
||||||
|
- libnfnetlink-devel
|
||||||
|
- libnetfilter_conntrack-devel
|
||||||
|
- libnetfilter_cttimeout-devel
|
||||||
|
- libnetfilter_cthelper-devel
|
||||||
|
- libnetfilter_queue-devel
|
||||||
|
- libmnl-devel
|
||||||
|
- libtirpc-devel
|
||||||
|
- systemd-devel
|
||||||
|
- bison
|
||||||
|
- flex
|
||||||
|
tests:
|
||||||
|
- build-test:
|
||||||
|
dir: ./source
|
||||||
|
run: ./configure && sed -i "s/DEFAULT_INCLUDES = -I./DEFAULT_INCLUDES = -I. -I\/usr\/include\/tirpc/" src/helpers/Makefile && make
|
||||||
|
- conntrack-test:
|
||||||
|
dir: ./source/tests/conntrack
|
||||||
|
run: chmod +x run-test.sh && ./run-test.sh 2>/dev/null | tee conntrack_test.log | grep -q '^OK':' [0-9]* BAD':' 0$'
|
||||||
|
save_files:
|
||||||
|
- conntrack_test.log
|
||||||
|
- nfct-test:
|
||||||
|
dir: ./source/tests/nfct
|
||||||
|
run: chmod +x run-test.sh && ./run-test.sh 2>/dev/null | tee nfct_test.log | grep -q '^OK':' [0-9]* BAD':' 0$'
|
||||||
|
save_files:
|
||||||
|
- nfct_test.log
|
Loading…
Reference in New Issue
Block a user