1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/gnrc_ipv6_nib: up interface on initial initialization

Since SLAAC now happens on the up event, the tests needs to ensure, that
`gnrc_ipv6_nib_iface_up()` is called before assuming SLAAC happened. For
the mock interface, this is done by gnrc_ipv6_nib_iface_up().
This commit is contained in:
Martine Lenders 2022-10-12 09:35:19 +02:00
parent 5f504ad70d
commit 7f146b6712
No known key found for this signature in database
GPG Key ID: 2134D77A5336DD80

View File

@ -85,6 +85,7 @@ void _tests_init(void)
);
_mock_netif = &_netif;
expect(res == 0);
_common_set_up();
/* we do not want to test for SLAAC here so just assure the configured
* address is valid */
expect(!ipv6_addr_is_unspecified(&_mock_netif->ipv6.addrs[0]));