xref: /freebsd/tests/sys/netpfil/pf/Makefile (revision 53bb5613a8a15363718b6e6de8d965bf9a2c5469)
1PACKAGE=	tests
2
3TESTSDIR=       ${TESTSBASE}/sys/netpfil/pf
4BINDIR=		${TESTSDIR}
5TESTS_SUBDIRS+=	ioctl
6
7ATF_TESTS_SH+=	altq \
8		anchor \
9		debug \
10		divert-to \
11		dup \
12		ether \
13		forward \
14		fragmentation_compat \
15		fragmentation_pass \
16		fragmentation_no_reassembly \
17		get_state \
18		icmp \
19		icmp6 \
20		if_enc \
21		limits \
22		loginterface \
23		killstate \
24		macro \
25		map_e \
26		match \
27		max_states \
28		mbuf \
29		modulate \
30		names \
31		nat \
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+=	nat66.py
59ATF_TESTS_PYTEST+=	sctp.py
60
61# Allow tests to run in parallel in their own jails
62TEST_METADATA+= execenv="jail"
63TEST_METADATA+= execenv_jail_params="vnet allow.raw_sockets"
64
65PROGS=	divapp
66
67${PACKAGE}FILES+=	CVE-2019-5597.py \
68			CVE-2019-5598.py \
69			daytime_inetd.conf \
70			echo_inetd.conf \
71			fragcommon.py \
72			frag-overindex.py \
73			frag-overlimit.py \
74			frag-overreplace.py \
75			pfsync_defer.py \
76			pft_ether.py \
77			pft_read_ipfix.py \
78			rdr-srcport.py \
79			utils.subr
80
81${PACKAGE}FILESMODE_CVE-2019-5597.py=	0555
82${PACKAGE}FILESMODE_CVE-2019-5598.py=	0555
83${PACKAGE}FILESMODE_fragcommon.py=	0555
84${PACKAGE}FILESMODE_frag-overindex.py=	0555
85${PACKAGE}FILESMODE_frag-overlimit.py=	0555
86${PACKAGE}FILESMODE_frag-overreplace.py=	0555
87${PACKAGE}FILESMODE_pfsync_defer.py=	0555
88${PACKAGE}FILESMODE_pft_ether.py=	0555
89${PACKAGE}FILESMODE_pft_read_ipfix.py=	0555
90
91.include <bsd.test.mk>
92