xref: /freebsd/tests/sys/netinet6/Makefile (revision 50725e585de77c20f7c96b836dd68ba954756ce7)
1PACKAGE=	tests
2
3TESTSDIR=	${TESTSBASE}/sys/netinet6
4FILESDIR=	${TESTSDIR}
5
6ATF_TESTS_PYTEST=	test_ip6_output.py
7ATF_TESTS_SH=		exthdr \
8			mld \
9			scapyi386 \
10			redirect \
11			divert \
12			forward6 \
13			output6 \
14			lpm6 \
15			fibs6 \
16			ndp \
17			proxy_ndp \
18			addr6
19
20TEST_METADATA.divert+=	execenv="jail"		\
21			execenv_jail_params="vnet allow.raw_sockets"
22TEST_METADATA.exthdr+=	execenv="jail"		\
23			execenv_jail_params="vnet allow.raw_sockets"
24TEST_METADATA.forward6+= execenv="jail"		\
25			execenv_jail_params="vnet allow.raw_sockets"
26TEST_METADATA.ndp+=	execenv="jail"		\
27			execenv_jail_params="vnet allow.raw_sockets"
28TEST_METADATA.output6+=	execenv="jail"		\
29			execenv_jail_params="vnet allow.raw_sockets" \
30			required_programs="python"
31TEST_METADATA.proxy_ndp+= execenv="jail"		\
32			execenv_jail_params="vnet allow.raw_sockets"
33TEST_METADATA.redirect+= execenv="jail"		\
34			execenv_jail_params="vnet allow.raw_sockets"
35TEST_METADATA.scapyi386+= execenv="jail"		\
36			execenv_jail_params="vnet allow.raw_sockets"
37TEST_METADATA.addr6+= execenv="jail"		\
38			execenv_jail_params="vnet allow.raw_sockets"
39
40${PACKAGE}FILES+=	exthdr.py \
41			mld.py \
42			scapyi386.py \
43			ra.py \
44			redirect.py
45
46${PACKAGE}FILESMODE_exthdr.py=	0555
47${PACKAGE}FILESMODE_mld.py=	0555
48${PACKAGE}FILESMODE_scapyi386.py=0555
49${PACKAGE}FILESMODE_ra.py=0555
50${PACKAGE}FILESMODE_redirect.py=0555
51
52TESTS_SUBDIRS+=	frag6
53
54.include <bsd.test.mk>
55