freebsd-src/tests/sys/netinet/Makefile
Gleb Smirnoff 8d3d9ca8bd tests/netinet: add UDP socket I/O tests
Start a file that would collect tests for I/O functionality of a UDP
socket, targeted on how a socket interacts with userland rather than with
wire side of the protocol.

First version tests that MSG_TRUNC and MSG_PEEK are working correctly.
2024-03-22 22:44:16 -07:00

46 lines
839 B
Makefile

PACKAGE= tests
TESTSDIR= ${TESTSBASE}/sys/netinet
BINDIR= ${TESTSDIR}
TESTS_SUBDIRS+= libalias
ATF_TESTS_C= ip_reass_test \
ip6_v4mapped_test \
so_reuseport_lb_test \
socket_afinet \
tcp_connect_port_test \
tcp_implied_connect \
tcp_md5_getsockopt \
udp_io
ATF_TESTS_SH= arp \
carp \
divert \
fibs \
fibs_test \
forward \
lpm \
output \
redirect
ATF_TESTS_PYTEST+= carp.py
ATF_TESTS_PYTEST+= igmp.py
TEST_METADATA.divert+= required_programs="python"
TEST_METADATA.forward+= required_programs="python"
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>