Commit d1108c87 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

iphlpapi/tests: Fix test on Vista.

parent fa68a3d9
......@@ -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);
......
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