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
This commit is contained in:
Mark Johnston
2026-05-19 14:28:34 +00:00
parent 8dad29555a
commit eeffed5aa0
+2
View File
@@ -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"