8dc34f32da
Resolves: rhbz#1972624 Signed-off-by: Jianwen Ji <jiji@redhat.com>
35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
# 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
|