Page MenuHomeFreeBSD

fibs tests: Fix test failures and simplify
ClosedPublic

Authored by markj on Tue, Jan 21, 6:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 8, 6:02 PM
Unknown Object (File)
Sat, Feb 8, 9:29 AM
Unknown Object (File)
Mon, Feb 3, 2:44 AM
Unknown Object (File)
Sun, Feb 2, 10:30 PM
Unknown Object (File)
Sun, Feb 2, 8:43 PM
Unknown Object (File)
Sun, Feb 2, 12:39 PM
Unknown Object (File)
Fri, Jan 31, 3:33 PM
Unknown Object (File)
Fri, Jan 31, 6:31 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