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)
Thu, Feb 20, 8:59 PM
Unknown Object (File)
Mon, Feb 17, 1:08 AM
Unknown Object (File)
Feb 8 2025, 6:02 PM
Unknown Object (File)
Feb 8 2025, 9:29 AM
Unknown Object (File)
Feb 3 2025, 2:44 AM
Unknown Object (File)
Feb 2 2025, 10:30 PM
Unknown Object (File)
Feb 2 2025, 8:43 PM
Unknown Object (File)
Feb 2 2025, 12:39 PM

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