From cb28400bce932970f11f883e3d397957d6cd4771 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Fri, 8 Nov 2019 16:25:44 +0100 Subject: [PATCH] tests/gnrc_netif: Adapt test to new interface names --- tests/gnrc_netif/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gnrc_netif/main.c b/tests/gnrc_netif/main.c index 2b55d1bac8..7d04dc6311 100644 --- a/tests/gnrc_netif/main.c +++ b/tests/gnrc_netif/main.c @@ -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]); }