Date: Mon, 12 Jan 2026 15:34:54 +0000 From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 32ec9d87ce9e - main - bpf/tests: Run tests in an execenv jail Message-ID: <6965149e.25a2e.449e30f3@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=32ec9d87ce9e6328408036af921369b7bf30f00c commit 32ec9d87ce9e6328408036af921369b7bf30f00c Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2026-01-12 15:27:26 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2026-01-12 15:34:43 +0000 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
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6965149e.25a2e.449e30f3>
