.include <src.opts.mk>

PACKAGE=	tests

TESTSDIR=	${TESTSBASE}/sys/net/if_ovpn

.if ${MK_PF} != "no"
ATF_TESTS_SH+=	if_ovpn
# Tests reuse jail names and so cannot run in parallel.
TEST_METADATA.if_ovpn+=	is_exclusive=true
.endif
ATF_TESTS_C+=	if_ovpn_c

LIBADD+=	nv

TESTS_SUBDIRS+=	ccd

${PACKAGE}FILES+= \
	ca.crt \
	client.crt \
	client.key \
	client2.crt \
	client2.key \
	dh.pem \
	server.crt \
	server.key \
	user.pass \
	utils.subr

.include <bsd.test.mk>