From 7f146b6712d583d9471bdd035d67d05a4d0e1a25 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 12 Oct 2022 09:35:19 +0200 Subject: [PATCH] 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(). --- tests/gnrc_ipv6_nib/mockup_netif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/gnrc_ipv6_nib/mockup_netif.c b/tests/gnrc_ipv6_nib/mockup_netif.c index 2271589d05..2f7503cb3b 100644 --- a/tests/gnrc_ipv6_nib/mockup_netif.c +++ b/tests/gnrc_ipv6_nib/mockup_netif.c @@ -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]));