git: a079f2b52aae - main - fibs_test: Run in a jail

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 18:55:54 UTC
The branch main has been updated by markj:

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

commit a079f2b52aae74b5469f18dcbef1aff680b80282
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-11-21 18:54:59 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-11-21 18:54:59 +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
---
 tests/sys/netinet/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/sys/netinet/Makefile b/tests/sys/netinet/Makefile
index a6f07d135724..786b79aa94c7 100644
--- a/tests/sys/netinet/Makefile
+++ b/tests/sys/netinet/Makefile
@@ -33,6 +33,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"