HomeFreeBSD

tests/netlink: improve recently added netlink_socket:membership

Description

tests/netlink: improve recently added netlink_socket:membership

Change sequence of syscalls: instead of "add, delete, check, check"
run sequence "add, check, delete, check". Seems to make more sense.

Do minimal parsing of incoming messages: find the IPv4 address there
and compare it to the original.

Details

Provenance
glebiusAuthored on Jan 11 2024, 4:51 AM
Parents
rGeffa0f6c0aad: tests/netlink: mark a test that requires tun(4)
Branches
Unknown
Tags
Unknown