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