Page MenuHomeFreeBSD

tests: Add grand link-layer event
ClosedPublic

Authored by pouria on Wed, Mar 18, 10:51 PM.
Tags
None
Referenced Files
F150443081: D55927.id173871.diff
Wed, Apr 1, 6:18 AM
Unknown Object (File)
Thu, Mar 26, 9:16 AM
Unknown Object (File)
Thu, Mar 26, 6:56 AM
Unknown Object (File)
Thu, Mar 26, 3:20 AM
Unknown Object (File)
Thu, Mar 26, 12:02 AM
Unknown Object (File)
Wed, Mar 25, 10:26 PM
Unknown Object (File)
Wed, Mar 25, 4:08 AM
Unknown Object (File)
Mon, Mar 23, 6:02 PM

Details

Summary

Add test for ndp to verity link-layer
address change event actually triggers the grand.

Test Plan

Run the test below:

kyua debug -k /usr/tests/Kyuafile sys/netinet6/ndp:ndp_grand_linklayer_event

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 71497
Build 68380: arc lint + arc unit

Event Timeline

tests/sys/netinet6/ndp.sh
406

What is the actual timer in the kernel? If it is 1 second, I'd suggest to sleep 1.1.

406

You may also want to check ndp output immediately after ifconfig, before sleep.

I'm planning to commit this tonight around 9:30 PM +3:30 (of course, if I don't get disconnected).
I would appreciate any input on this review.

Change mac address to *unicast UAA* and reuse mac address of previous tests for consistency.

This revision was not accepted when it landed; it landed in state Needs Review.Fri, Mar 27, 8:51 PM
This revision was automatically updated to reflect the committed changes.