bpf/tests: Run tests in an execenv jail

Otherwise the tests cannot be run in parallel since they create
identically named jails.

Fixes:	dd49816b0d ("bpf: avoid panic on multiple readers")
This commit is contained in:
Mark Johnston
2026-01-12 15:27:26 +00:00
parent 045112f148
commit 32ec9d87ce
+3
View File
@@ -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>