067acae2f3
Set up an OpenVPN tunnel between two jails, send traffic through them to confirm basic function. Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D35067
40 lines
808 B
Makefile
40 lines
808 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= tests
|
|
|
|
TESTSDIR= ${TESTSBASE}/sys/net
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
ATF_TESTS_C+= if_epair
|
|
ATF_TESTS_SH+= if_bridge_test
|
|
TEST_METADATA.if_bridge_test+= required_programs="python"
|
|
ATF_TESTS_SH+= if_clone_test
|
|
ATF_TESTS_SH+= if_gif
|
|
ATF_TESTS_SH+= if_lagg_test
|
|
ATF_TESTS_SH+= if_stf
|
|
ATF_TESTS_SH+= if_tun_test
|
|
ATF_TESTS_SH+= if_vlan
|
|
|
|
TESTS_SUBDIRS+= if_ovpn
|
|
TESTS_SUBDIRS+= routing
|
|
|
|
# The tests are written to be run in parallel, but doing so leads to random
|
|
# panics. I think it's because the kernel's list of interfaces isn't properly
|
|
# locked.
|
|
TEST_METADATA+= is_exclusive=true
|
|
|
|
${PACKAGE}FILES+= \
|
|
dhclient_pcp.conf \
|
|
pcp.py \
|
|
stp.py
|
|
|
|
${PACKAGE}FILESMODE_pcp.py= 0555
|
|
${PACKAGE}FILESMODE_stp.py= 0555
|
|
|
|
MAN=
|
|
PROGS+= randsleep
|
|
|
|
CFLAGS+= -I${.CURDIR:H:H}
|
|
|
|
.include <bsd.test.mk>
|