mirror of
https://github.com/opnsense/src.git
synced 2026-04-25 08:07:28 -04:00
Reviewed by: glebius MFC after: 2 weeks Sponsored by: Klara, Inc. Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D48665 (cherry picked from commit 7034563f8ef3acbe5bada582f0bb335fcba9dfb4)
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
|
|
PACKAGE= tests
|
|
|
|
TESTSDIR= ${TESTSBASE}/sys/netinet
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
TESTS_SUBDIRS+= libalias
|
|
|
|
ATF_TESTS_C= fibs_multibind_test \
|
|
ip_reass_test \
|
|
ip6_v4mapped_test \
|
|
so_reuseport_lb_test \
|
|
socket_afinet \
|
|
tcp_connect_port_test \
|
|
tcp_md5_getsockopt
|
|
|
|
ATF_TESTS_SH= arp \
|
|
carp \
|
|
divert \
|
|
fibs \
|
|
fibs_test \
|
|
forward \
|
|
lpm \
|
|
output \
|
|
redirect
|
|
|
|
ATF_TESTS_PYTEST+= carp.py
|
|
|
|
# Some of the arp tests look for log messages in the dmesg buffer, so run them
|
|
# serially to avoid problems with interleaved output.
|
|
TEST_METADATA.arp+= is_exclusive="true"
|
|
TEST_METADATA.divert+= required_programs="python" \
|
|
execenv="jail" \
|
|
execenv_jail_params="vnet allow.raw_sockets"
|
|
TEST_METADATA.fibs_test+= execenv="jail" \
|
|
execenv_jail_params="vnet allow.raw_sockets"
|
|
TEST_METADATA.forward+= required_programs="python" \
|
|
execenv="jail" \
|
|
execenv_jail_params="vnet allow.raw_sockets"
|
|
TEST_METADATA.output+= required_programs="python"
|
|
TEST_METADATA.redirect+= required_programs="python"
|
|
TEST_METADATA.tcp6_v4mapped_bind_test+= is_exclusive="true"
|
|
|
|
PROGS= udp_dontroute tcp_user_cookie
|
|
|
|
${PACKAGE}FILES+= redirect.py
|
|
|
|
${PACKAGE}FILESMODE_redirect.py=0555
|
|
|
|
MAN=
|
|
|
|
.include <bsd.test.mk>
|