Page MenuHomeFreeBSD

tests: Add grand link-layer event
ClosedPublic

Authored by pouria on Wed, Mar 18, 10:51 PM.
Tags
None
Referenced Files
F152111182: D55927.id174396.diff
Sun, Apr 12, 7:26 PM
Unknown Object (File)
Sat, Apr 11, 11:34 PM
Unknown Object (File)
Wed, Apr 8, 10:25 PM
Unknown Object (File)
Wed, Apr 8, 9:56 AM
Unknown Object (File)
Tue, Apr 7, 5:03 PM
Unknown Object (File)
Sun, Apr 5, 1:21 PM
Unknown Object (File)
Wed, Apr 1, 6:18 AM
Unknown Object (File)
Thu, Mar 26, 9:16 AM

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 Not Applicable
Unit
Tests Not Applicable

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.