summaryrefslogtreecommitdiff
path: root/tests/sys/netinet6/Makefile
blob: 26f1a18a8d327adbbdf9fb7e250e17ee8d77d670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
PACKAGE=	tests

TESTSDIR=	${TESTSBASE}/sys/netinet6
FILESDIR=	${TESTSDIR}

ATF_TESTS_PYTEST=	test_ip6_output.py
ATF_TESTS_SH=		exthdr \
			mld \
			scapyi386 \
			redirect \
			divert \
			forward6 \
			output6 \
			lpm6 \
			fibs6 \
			ndp \
			proxy_ndp \
			addr6

TEST_METADATA.divert+=	execenv="jail"		\
			execenv_jail_params="vnet allow.raw_sockets"
TEST_METADATA.exthdr+=	execenv="jail"		\
			execenv_jail_params="vnet allow.raw_sockets"
TEST_METADATA.forward6+= execenv="jail"		\
			execenv_jail_params="vnet allow.raw_sockets"
TEST_METADATA.ndp+=	execenv="jail"		\
			execenv_jail_params="vnet allow.raw_sockets"
TEST_METADATA.output6+=	execenv="jail"		\
			execenv_jail_params="vnet allow.raw_sockets" \
			required_programs="python"
TEST_METADATA.proxy_ndp+= execenv="jail"		\
			execenv_jail_params="vnet allow.raw_sockets"
TEST_METADATA.redirect+= execenv="jail"		\
			execenv_jail_params="vnet allow.raw_sockets"
TEST_METADATA.scapyi386+= execenv="jail"		\
			execenv_jail_params="vnet allow.raw_sockets"
TEST_METADATA.addr6+= execenv="jail"		\
			execenv_jail_params="vnet allow.raw_sockets"

${PACKAGE}FILES+=	exthdr.py \
			mld.py \
			scapyi386.py \
			ra.py \
			redirect.py

${PACKAGE}FILESMODE_exthdr.py=	0555
${PACKAGE}FILESMODE_mld.py=	0555
${PACKAGE}FILESMODE_scapyi386.py=0555
${PACKAGE}FILESMODE_ra.py=0555
${PACKAGE}FILESMODE_redirect.py=0555

TESTS_SUBDIRS+=	frag6

.include <bsd.test.mk>