xref: /freebsd/tests/sys/netinet6/Makefile (revision b103fc49ae160fdce221c2fffa98dde9bc0ff3b0)
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
19TEST_METADATA.divert+=	execenv="jail"		\
20			execenv_jail_params="vnet allow.raw_sockets"
21TEST_METADATA.exthdr+=	execenv="jail"		\
22			execenv_jail_params="vnet allow.raw_sockets"
23TEST_METADATA.forward6+= execenv="jail"		\
24			execenv_jail_params="vnet allow.raw_sockets"
25TEST_METADATA.ndp+=	execenv="jail"		\
26			execenv_jail_params="vnet allow.raw_sockets"
27TEST_METADATA.output6+=	execenv="jail"		\
28			execenv_jail_params="vnet allow.raw_sockets" \
29			required_programs="python"
30TEST_METADATA.proxy_ndp+= execenv="jail"		\
31			execenv_jail_params="vnet allow.raw_sockets"
32TEST_METADATA.redirect+= execenv="jail"		\
33			execenv_jail_params="vnet allow.raw_sockets"
34TEST_METADATA.scapyi386+= execenv="jail"		\
35			execenv_jail_params="vnet allow.raw_sockets"
36
37${PACKAGE}FILES+=	exthdr.py \
38			mld.py \
39			scapyi386.py \
40			ra.py \
41			redirect.py
42
43${PACKAGE}FILESMODE_exthdr.py=	0555
44${PACKAGE}FILESMODE_mld.py=	0555
45${PACKAGE}FILESMODE_scapyi386.py=0555
46${PACKAGE}FILESMODE_ra.py=0555
47${PACKAGE}FILESMODE_redirect.py=0555
48
49TESTS_SUBDIRS+=	frag6
50
51.include <bsd.test.mk>
52