mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
if_ovpn tests: fix WITHOUT_PF
At least one if_ovpn.sh test relies on pf, so the file includes
netpfil/pf/utils.subr, which doesn't exist if WITHOUT_PF is set.
Do not install the if_ovpn.sh tests if pf is disabled.
Suggested by: Olivier Cochard-Labbé <olivier@freebsd.org>
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
ff7812ee7d
commit
eed634d113
1 changed files with 4 additions and 0 deletions
|
|
@ -1,8 +1,12 @@
|
|||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
|
||||
TESTSDIR= ${TESTSBASE}/sys/net/if_ovpn
|
||||
|
||||
.if ${MK_PF} != "no"
|
||||
ATF_TESTS_SH+= if_ovpn
|
||||
.endif
|
||||
ATF_TESTS_C+= if_ovpn_c
|
||||
|
||||
LIBADD+= nv
|
||||
|
|
|
|||
Loading…
Reference in a new issue