iphlpapi/tests: Fix test on Vista.

This commit is contained in:
Paul Vriens 2008-06-06 21:37:51 +02:00 committed by Alexandre Julliard
parent fa68a3d9c3
commit d1108c8774

View file

@ -190,8 +190,9 @@ static void testGetIfEntry(DWORD index)
apiReturn);
row.dwIndex = -1; /* hope that's always bogus! */
apiReturn = gGetIfEntry(&row);
ok(apiReturn == ERROR_INVALID_DATA,
"GetIfEntry(bogus row) returned %d, expected ERROR_INVALID_DATA\n",
ok(apiReturn == ERROR_INVALID_DATA ||
apiReturn == ERROR_FILE_NOT_FOUND /* Vista */,
"GetIfEntry(bogus row) returned %d, expected ERROR_INVALID_DATA or ERROR_FILE_NOT_FOUND\n",
apiReturn);
row.dwIndex = index;
apiReturn = gGetIfEntry(&row);