xref: /freebsd/tests/sys/netpfil/pf/Makefile (revision 7937bfbc0ca53fe7cdd0d54414f9296e273a518e)
1PACKAGE=	tests
2
3TESTSDIR=       ${TESTSBASE}/sys/netpfil/pf
4TESTS_SUBDIRS+=	ioctl
5
6ATF_TESTS_SH+=	altq \
7		anchor \
8		debug \
9		divert-to \
10		dup \
11		ether \
12		forward \
13		fragmentation_compat \
14		fragmentation_pass \
15		fragmentation_no_reassembly \
16		get_state \
17		icmp \
18		icmp6 \
19		if_enc \
20		limits \
21		loginterface \
22		killstate \
23		macro \
24		map_e \
25		match \
26		max_states \
27		mbuf \
28		modulate \
29		names \
30		nat \
31		pass_block \
32		pflog \
33		pflow \
34		pfsync	\
35		prio \
36		proxy \
37		rdr \
38		ridentifier \
39		route_to \
40		rtable \
41		rules_counter \
42		scrub_compat \
43		scrub_pass \
44		sctp \
45		set_skip \
46		set_tos \
47		src_track \
48		status \
49		syncookie \
50		synproxy \
51		table \
52		tcp \
53		tos
54
55ATF_TESTS_PYTEST+=	frag6.py
56ATF_TESTS_PYTEST+=	icmp.py
57ATF_TESTS_PYTEST+=	nat66.py
58ATF_TESTS_PYTEST+=	sctp.py
59
60# Allow tests to run in parallel in their own jails
61TEST_METADATA+= execenv="jail"
62TEST_METADATA+= execenv_jail_params="vnet allow.raw_sockets"
63
64${PACKAGE}FILES+=	CVE-2019-5597.py \
65			CVE-2019-5598.py \
66			daytime_inetd.conf \
67			echo_inetd.conf \
68			fragcommon.py \
69			frag-overindex.py \
70			frag-overlimit.py \
71			frag-overreplace.py \
72			pfsync_defer.py \
73			pft_ether.py \
74			pft_read_ipfix.py \
75			rdr-srcport.py \
76			utils.subr
77
78${PACKAGE}FILESMODE_CVE-2019-5597.py=	0555
79${PACKAGE}FILESMODE_CVE-2019-5598.py=	0555
80${PACKAGE}FILESMODE_fragcommon.py=	0555
81${PACKAGE}FILESMODE_frag-overindex.py=	0555
82${PACKAGE}FILESMODE_frag-overlimit.py=	0555
83${PACKAGE}FILESMODE_frag-overreplace.py=	0555
84${PACKAGE}FILESMODE_pfsync_defer.py=	0555
85${PACKAGE}FILESMODE_pft_ether.py=	0555
86${PACKAGE}FILESMODE_pft_read_ipfix.py=	0555
87
88.include <bsd.test.mk>
89