iphlpapi/tests: Fix a failing test.

This commit is contained in:
Jeff Zaroyko 2008-12-31 00:09:03 +11:00 committed by Alexandre Julliard
parent 36c03f6a94
commit 33479b898a
1 changed files with 2 additions and 1 deletions

View File

@ -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);