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