Skip site navigation (1)Skip section navigation (2)



index | | raw e-mail

    bpf/tests: Run tests in an execenv jail
    
    Otherwise the tests cannot be run in parallel since they create
    identically named jails.
    
    Fixes:  dd49816b0d66 ("bpf: avoid panic on multiple readers")
---
 tests/sys/net/bpf/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/sys/net/bpf/Makefile b/tests/sys/net/bpf/Makefile
index 641d1aaef676..cee27b550434 100644
--- a/tests/sys/net/bpf/Makefile
+++ b/tests/sys/net/bpf/Makefile
@@ -14,4 +14,7 @@ LIBADD.pcap-test+=	pcap
 
 ATF_TESTS_SH=	bpf
 
+TEST_METADATA.bpf+=	execenv="jail" \
+			execenv_jail_params="vnet allow.raw_sockets"
+
 .include <bsd.test.mk>


home | help