aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-05-19 14:28:34 +0000
committerMark Johnston <markj@FreeBSD.org>2026-05-19 14:29:12 +0000
commiteeffed5aa0d9a67adb21bf188515cb374340e9cb (patch)
tree80c6184f6e844dd6afd8714b0ec9b154d9aa6fdc
parent8dad29555a5807bf21941807752e1589e20312de (diff)
tests/if_carp: Run all tests with execenv=jail
Otherwise failures can occur when running tests in parallel since some tests reuse jail names. MFC after: 1 week
-rw-r--r--tests/sys/netinet/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sys/netinet/Makefile b/tests/sys/netinet/Makefile
index a13b0b42e2bc..d5bfdad0a812 100644
--- a/tests/sys/netinet/Makefile
+++ b/tests/sys/netinet/Makefile
@@ -40,6 +40,8 @@ LIBADD.udp_bindings= pthread
# Some of the arp tests look for log messages in the dmesg buffer, so run them
# serially to avoid problems with interleaved output.
TEST_METADATA.arp+= is_exclusive="true"
+TEST_METADATA.carp+= execenv="jail" \
+ execenv_jail_params="vnet allow.raw_sockets"
TEST_METADATA.divert+= required_programs="python" \
execenv="jail" \
execenv_jail_params="vnet allow.raw_sockets"