xref: /freebsd/tests/sys/netpfil/pf/Makefile (revision ae1a0648b05acf798816e7b83b3c10856de5c8e5)
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		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
64PROGS=	divapp
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