xref: /freebsd/tests/sys/netpfil/pf/Makefile (revision 9cbf1de7e34a6fced041388fad5d9180cb7705fe)
1
2PACKAGE=	tests
3
4TESTSDIR=       ${TESTSBASE}/sys/netpfil/pf
5BINDIR=		${TESTSDIR}
6TESTS_SUBDIRS+=	ioctl
7
8ATF_TESTS_SH+=	altq \
9		anchor \
10		debug \
11		divert-to \
12		dup \
13		ether \
14		forward \
15		fragmentation_compat \
16		fragmentation_pass \
17		fragmentation_no_reassembly \
18		get_state \
19		icmp \
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