xref: /freebsd/tests/sys/netpfil/pf/Makefile (revision 62a52c15422470f97fc7b311d89c83f910bcc1b1)
1
2PACKAGE=	tests
3
4TESTSDIR=       ${TESTSBASE}/sys/netpfil/pf
5BINDIR=		${TESTSDIR}
6TESTS_SUBDIRS+=	ioctl
7
8ATF_TESTS_SH+=	altq \
9		anchor \
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		killstate \
20		macro \
21		map_e \
22		match \
23		modulate \
24		names \
25		nat \
26		pass_block \
27		pflog \
28		pflow \
29		pfsync	\
30		prio \
31		proxy \
32		ridentifier \
33		route_to \
34		rtable \
35		rules_counter \
36		scrub_compat \
37		scrub_pass \
38		sctp \
39		set_skip \
40		set_tos \
41		src_track \
42		syncookie \
43		synproxy \
44		table \
45		tcp \
46		tos
47
48ATF_TESTS_PYTEST+=	frag6.py
49ATF_TESTS_PYTEST+=	nat66.py
50ATF_TESTS_PYTEST+=	sctp.py
51
52# Tests reuse jail names and so cannot run in parallel.
53TEST_METADATA+=	is_exclusive=true
54
55PROGS=	divapp
56
57${PACKAGE}FILES+=	CVE-2019-5597.py \
58			CVE-2019-5598.py \
59			daytime_inetd.conf \
60			echo_inetd.conf \
61			fragcommon.py \
62			frag-overindex.py \
63			frag-overlimit.py \
64			frag-overreplace.py \
65			pfsync_defer.py \
66			pft_ether.py \
67			pft_read_ipfix.py \
68			utils.subr
69
70${PACKAGE}FILESMODE_CVE-2019-5597.py=	0555
71${PACKAGE}FILESMODE_CVE-2019-5598.py=	0555
72${PACKAGE}FILESMODE_fragcommon.py=	0555
73${PACKAGE}FILESMODE_frag-overindex.py=	0555
74${PACKAGE}FILESMODE_frag-overlimit.py=	0555
75${PACKAGE}FILESMODE_frag-overreplace.py=	0555
76${PACKAGE}FILESMODE_pfsync_defer.py=	0555
77${PACKAGE}FILESMODE_pft_ether.py=	0555
78${PACKAGE}FILESMODE_pft_read_ipfix.py=	0555
79
80.include <bsd.test.mk>
81