Page MenuHomeFreeBSD

fibs tests: Fix test failures and simplify
ClosedPublic

Authored by markj on Jan 21 2025, 6:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 26, 3:16 PM
Unknown Object (File)
Tue, Nov 25, 8:28 AM
Unknown Object (File)
Wed, Oct 29, 11:58 PM
Unknown Object (File)
Oct 24 2025, 12:22 AM
Unknown Object (File)
Oct 23 2025, 12:35 AM
Unknown Object (File)
Oct 21 2025, 7:13 AM
Unknown Object (File)
Oct 16 2025, 1:40 AM
Unknown Object (File)
Oct 10 2025, 10:15 AM

Details

Summary

The tests previously expected the invoker to pass a list of FIBs to use.
However, they now run in separate VNET jails, so we can simply expand
the FIB array as needed in each test. Modify each test to simply set
net.fibs as needed and grab FIB numbers starting at 1.

A number of tests were also broken by commit 9206c7996198
("usr.bin/netstat: -n should not print symbolic names"), so fix those.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable