Page MenuHomeFreeBSD

Add basic tests for dynamic fib creation.
ClosedPublic

Authored by melifaro on Sep 9 2020, 9:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 24 2024, 1:37 AM
Unknown Object (File)
Feb 23 2024, 12:17 PM
Unknown Object (File)
Feb 23 2024, 12:17 PM
Unknown Object (File)
Feb 23 2024, 11:26 AM
Unknown Object (File)
Jan 20 2024, 7:49 AM
Unknown Object (File)
Jan 14 2024, 5:23 AM
Unknown Object (File)
Jan 11 2024, 9:27 PM
Unknown Object (File)
Dec 17 2023, 7:46 AM
Subscribers

Details

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Yay! Tests!

Do these need to be in a separate file rather than being added to fibs_tests?

Also, they seem to fail on my test vm with sysctl: oid 'net.fibs' is read only. I suspect you've fixed that in r365517.

tests/sys/netinet6/fibs6.sh
59 ↗(On Diff #76836)

Would adding no_dad to the ifconfig also work?

In D26382#586634, @kp wrote:

Yay! Tests!

Do these need to be in a separate file rather than being added to fibs_tests?

fibs_tests uses different approach (no vnet, no epair) and don't exist for IPv6. I'd prefer to start with a fresh one and revisit fibs_tests tests after landing D26076 and multipath support - they might need notable changes.

tests/sys/netinet6/fibs6.sh
59 ↗(On Diff #76836)

It's certainly possible, though this is more like integration test, so I'd prefer not to skip one of the steps used in prod env.

This revision is now accepted and ready to land.Sep 10 2020, 6:06 AM
This revision was automatically updated to reflect the committed changes.