aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2024-11-21 18:54:59 +0000
committerMark Johnston <markj@FreeBSD.org>2024-11-28 14:38:17 +0000
commit9917a1357c079665eeec6251ba802dc162777da2 (patch)
tree99b940ad8ea1c8129a41c7a84529c3f3ac8cc934
parent906d603eeb5004a792116e3064df25c8b90b4be2 (diff)
fibs_test: Run in a jail
These tests assume exclusive use of one or more FIBs and so can't be run in parallel. Running them in a VNET jail sidesteps this problem. MFC after: 1 week Sponsored by: Klara, Inc. Sponsored by: Stormshield (cherry picked from commit a079f2b52aae74b5469f18dcbef1aff680b80282)
-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 8fa12378990c..6019da4f6baa 100644
--- a/tests/sys/netinet/Makefile
+++ b/tests/sys/netinet/Makefile
@@ -31,6 +31,8 @@ TEST_METADATA.arp+= is_exclusive="true"
TEST_METADATA.divert+= required_programs="python" \
execenv="jail" \
execenv_jail_params="vnet allow.raw_sockets"
+TEST_METADATA.fibs_test+= execenv="jail" \
+ execenv_jail_params="vnet allow.raw_sockets"
TEST_METADATA.forward+= required_programs="python" \
execenv="jail" \
execenv_jail_params="vnet allow.raw_sockets"