mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/gnrc_netif: Adapt test to new interface names
This commit is contained in:
parent
8aa66e94ea
commit
cb28400bce
@ -1131,7 +1131,7 @@ static void test_netif_get_name(void)
|
||||
TEST_ASSERT_NOT_NULL(netif);
|
||||
|
||||
res = netif_get_name(netif, name);
|
||||
sprintf(exp_name, "if%d", (int) ((gnrc_netif_t *)netif)->pid);
|
||||
sprintf(exp_name, "%d", (int) ((gnrc_netif_t *)netif)->pid);
|
||||
TEST_ASSERT_EQUAL_INT(strlen(exp_name), res);
|
||||
TEST_ASSERT_EQUAL_STRING(&exp_name[0], &name[0]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user