From 32ec9d87ce9e6328408036af921369b7bf30f00c Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Mon, 12 Jan 2026 15:27:26 +0000 Subject: [PATCH] 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 641d1aaef67..cee27b55043 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