initial gating tests for rhel10
JIRA: https://issues.redhat.com/browse/RHELMISC-3943 Signed-off-by: Jianwen Ji <jiji@redhat.com>
This commit is contained in:
parent
aa97e4a702
commit
4a49ab0333
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
27
tests/tests.yml
Normal file
27
tests/tests.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# Tests for conntrack-tools
|
||||||
|
- hosts: localhost
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
roles:
|
||||||
|
- role: standard-test-source
|
||||||
|
- role: standard-test-basic
|
||||||
|
required_packages:
|
||||||
|
- gcc
|
||||||
|
- conntrack-tools
|
||||||
|
tests:
|
||||||
|
- pre-conntrack-test:
|
||||||
|
dir: ./source/tests/conntrack
|
||||||
|
run: sed -i '/define CT_PROG/c \#define CT_PROG "/usr/sbin/conntrack"' test-conntrack.c
|
||||||
|
- conntrack-test:
|
||||||
|
dir: ./source/tests/conntrack
|
||||||
|
run: chmod +x run-test.sh && ./run-test.sh | tee conntrack_test.log | grep -q '^OK':' [0-9]* BAD':' 0$'
|
||||||
|
save_files:
|
||||||
|
- conntrack_test.log
|
||||||
|
- pre-nfct-test:
|
||||||
|
dir: ./source/tests/nfct
|
||||||
|
run: rm -f timeout/*dccp
|
||||||
|
- nfct-test:
|
||||||
|
dir: ./source/tests/nfct
|
||||||
|
run: chmod +x run-test.sh && ./run-test.sh | tee nfct_test.log | grep -q '^OK':' [0-9]* BAD':' 0$'
|
||||||
|
save_files:
|
||||||
|
- nfct_test.log
|
Loading…
Reference in New Issue
Block a user