Commit f0db9c4b authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

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

The order of the interfaces is not fixed and can change, Signed-off-by: 's avatarDetlef Riekenberg <wine.dev@web.de> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent baac1703
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment