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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user