iphlpapi/tests: Fix a failing test.
This commit is contained in:
parent
36c03f6a94
commit
33479b898a
|
@ -322,7 +322,8 @@ static void testGetIpNetTable(void)
|
||||||
PMIB_IPNETTABLE buf = HeapAlloc(GetProcessHeap(), 0, dwSize);
|
PMIB_IPNETTABLE buf = HeapAlloc(GetProcessHeap(), 0, dwSize);
|
||||||
|
|
||||||
apiReturn = gGetIpNetTable(buf, &dwSize, FALSE);
|
apiReturn = gGetIpNetTable(buf, &dwSize, FALSE);
|
||||||
ok(apiReturn == NO_ERROR,
|
ok(apiReturn == NO_ERROR ||
|
||||||
|
apiReturn == ERROR_NO_DATA, /* empty ARP table's okay */
|
||||||
"GetIpNetTable(buf, &dwSize, FALSE) returned %d, expected NO_ERROR\n",
|
"GetIpNetTable(buf, &dwSize, FALSE) returned %d, expected NO_ERROR\n",
|
||||||
apiReturn);
|
apiReturn);
|
||||||
HeapFree(GetProcessHeap(), 0, buf);
|
HeapFree(GetProcessHeap(), 0, buf);
|
||||||
|
|
Loading…
Reference in New Issue