Module: wine Branch: master Commit: f0db9c4b3be1f44289d2f7e26d4fa3548edf6d27 URL: https://source.winehq.org/git/wine.git/?a=commit;h=f0db9c4b3be1f44289d2f7e26...
Author: Detlef Riekenberg wine.dev@web.de Date: Wed Apr 3 18:25:22 2019 +0200
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
---
dlls/iphlpapi/tests/iphlpapi.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/dlls/iphlpapi/tests/iphlpapi.c b/dlls/iphlpapi/tests/iphlpapi.c index 1be9f3c..a2be862 100644 --- a/dlls/iphlpapi/tests/iphlpapi.c +++ b/dlls/iphlpapi/tests/iphlpapi.c @@ -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);