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