iphlpapi/tests: Remove a test with a wrong assumption.

The order of the interfaces is not fixed and can change,

Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Detlef Riekenberg 2019-04-03 18:25:22 +02:00 committed by Alexandre Julliard
parent baac17030c
commit f0db9c4b3b
1 changed files with 0 additions and 3 deletions

View File

@ -285,9 +285,6 @@ static void testGetIpAddrTable(void)
ok (buf->table[i].wType != 0, "Test[%d]: expected wType > 0\n", i);
trace("Entry[%d]: addr %s, dwIndex %u, wType 0x%x\n", i,
ntoa(buf->table[i].dwAddr), buf->table[i].dwIndex, buf->table[i].wType);
/* loopback must never be the first when more than one interface is found */
if (buf->table[i].dwAddr == htonl(INADDR_LOOPBACK))
ok(buf->dwNumEntries == 1 || i, "Loopback interface in wrong first position\n");
}
}
HeapFree(GetProcessHeap(), 0, buf);