The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=23af364630b133b09821757d33f253702606d4cf
commit 23af364630b133b09821757d33f253702606d4cf Author: Kristof Provost <[email protected]> AuthorDate: 2025-11-26 10:27:47 +0000 Commit: Kristof Provost <[email protected]> CommitDate: 2025-11-26 10:27:47 +0000 tests: detect built-in modules When checking vnet test prerequisites we check if if_epair and if_bridge are available, but we only checked for loadable modules. It's possible for these to be built into the kernel instead. Sponsored by: Rubicon Communications, LLC ("Netgate") --- tests/sys/common/vnet.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/common/vnet.subr b/tests/sys/common/vnet.subr index 0a32e6caf813..245dbaea517a 100644 --- a/tests/sys/common/vnet.subr +++ b/tests/sys/common/vnet.subr @@ -15,7 +15,7 @@ _vnet_check_req() { type=$1 - if kldstat -q -n if_${type}.ko; then + if kldstat -q -m if_${type}; then return fi
