xref: /freebsd/tests/sys/netpfil/pf/Makefile (revision f1ddb6fb8c4d051a205dae3a848776c9d56f86ff)
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		nat64 \
32		pass_block \
33		pflog \
34		pflow \
35		pfsync	\
36		prio \
37		proxy \
38		rdr \
39		ridentifier \
40		route_to \
41		rtable \
42		rules_counter \
43		scrub_compat \
44		scrub_pass \
45		sctp \
46		set_skip \
47		set_tos \
48		src_track \
49		status \
50		syncookie \
51		synproxy \
52		table \
53		tcp \
54		tos
55
56ATF_TESTS_PYTEST+=	frag6.py
57ATF_TESTS_PYTEST+=	icmp.py
58ATF_TESTS_PYTEST+=	nat64.py
59ATF_TESTS_PYTEST+=	nat66.py
60ATF_TESTS_PYTEST+=	sctp.py
61
62# Allow tests to run in parallel in their own jails
63TEST_METADATA+= execenv="jail"
64TEST_METADATA+= execenv_jail_params="vnet allow.raw_sockets"
65
66${PACKAGE}FILES+=	CVE-2019-5597.py \
67			CVE-2019-5598.py \
68			daytime_inetd.conf \
69			echo_inetd.conf \
70			fragcommon.py \
71			frag-overindex.py \
72			frag-overlimit.py \
73			frag-overreplace.py \
74			pfsync_defer.py \
75			pft_ether.py \
76			pft_read_ipfix.py \
77			rdr-srcport.py \
78			utils.subr
79
80${PACKAGE}FILESMODE_CVE-2019-5597.py=	0555
81${PACKAGE}FILESMODE_CVE-2019-5598.py=	0555
82${PACKAGE}FILESMODE_fragcommon.py=	0555
83${PACKAGE}FILESMODE_frag-overindex.py=	0555
84${PACKAGE}FILESMODE_frag-overlimit.py=	0555
85${PACKAGE}FILESMODE_frag-overreplace.py=	0555
86${PACKAGE}FILESMODE_pfsync_defer.py=	0555
87${PACKAGE}FILESMODE_pft_ether.py=	0555
88${PACKAGE}FILESMODE_pft_read_ipfix.py=	0555
89
90.include <bsd.test.mk>
91