Page MenuHomeFreeBSD

routing: Add tests for prefsrc route attribute
Needs ReviewPublic

Authored by pouria on Sat, Jul 18, 2:48 PM.
Tags
None
Referenced Files
F163408270: D58326.diff
Wed, Jul 22, 11:01 PM
Unknown Object (File)
Wed, Jul 22, 4:22 AM
Unknown Object (File)
Tue, Jul 21, 4:46 AM

Details

Reviewers
glebius
markj
ivy
melifaro
Group Reviewers
network
Summary

Add tests for both IPv4 and IPv6 routes with the prefsrc attribute.
Also test IPv4 routes over IPv6 nexthops and borrow their IPv4
addresses from the loopback interface.

Test Plan
# kyua test -k /usr/tests/Kyuafile sys/net/routing/test_routing
sys/net/routing/test_routing:add_v4route_with_prefsrc  ->  passed  [0.179s]
sys/net/routing/test_routing:add_v4v6route_with_prefsrc  ->  passed  [0.180s]
sys/net/routing/test_routing:add_v6route_with_prefsrc  ->  passed  [0.167s]

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74916
Build 71799: arc lint + arc unit