1PACKAGE= tests 2 3TESTSDIR= ${TESTSBASE}/sys/netinet 4BINDIR= ${TESTSDIR} 5 6TESTS_SUBDIRS+= libalias 7 8ATF_TESTS_C= ip_reass_test \ 9 ip6_v4mapped_test \ 10 so_reuseport_lb_test \ 11 socket_afinet \ 12 tcp_connect_port_test \ 13 tcp_implied_connect \ 14 tcp_md5_getsockopt \ 15 udp_io 16 17ATF_TESTS_SH= arp \ 18 carp \ 19 divert \ 20 fibs \ 21 fibs_test \ 22 forward \ 23 lpm \ 24 output \ 25 redirect 26 27ATF_TESTS_PYTEST+= carp.py 28ATF_TESTS_PYTEST+= igmp.py 29 30# Some of the arp tests look for log messages in the dmesg buffer, so run them 31# serially to avoid problems with interleaved output. 32TEST_METADATA.arp+= is_exclusive="true" 33TEST_METADATA.divert+= required_programs="python" \ 34 execenv="jail" \ 35 execenv_jail_params="vnet allow.raw_sockets" 36TEST_METADATA.fibs_test+= execenv="jail" \ 37 execenv_jail_params="vnet allow.raw_sockets" 38TEST_METADATA.forward+= required_programs="python" \ 39 execenv="jail" \ 40 execenv_jail_params="vnet allow.raw_sockets" 41TEST_METADATA.output+= required_programs="python" 42TEST_METADATA.redirect+= required_programs="python" 43TEST_METADATA.tcp6_v4mapped_bind_test+= is_exclusive="true" 44 45PROGS= udp_dontroute tcp_user_cookie 46 47${PACKAGE}FILES+= redirect.py 48 49${PACKAGE}FILESMODE_redirect.py=0555 50 51MAN= 52 53.include <bsd.test.mk> 54