git: 9917a1357c07 - stable/14 - fibs_test: Run in a jail

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Thu, 28 Nov 2024 14:39:01 UTC
The branch stable/14 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=9917a1357c079665eeec6251ba802dc162777da2

commit 9917a1357c079665eeec6251ba802dc162777da2
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-11-21 18:54:59 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-11-28 14:38:17 +0000

    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)
---
 tests/sys/netinet/Makefile | 2 ++
 1 file changed, 2 insertions(+)

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"