iphlpapi/tests: Fix test on Vista.
This commit is contained in:
parent
fa68a3d9c3
commit
d1108c8774
|
@ -190,8 +190,9 @@ static void testGetIfEntry(DWORD index)
|
||||||
apiReturn);
|
apiReturn);
|
||||||
row.dwIndex = -1; /* hope that's always bogus! */
|
row.dwIndex = -1; /* hope that's always bogus! */
|
||||||
apiReturn = gGetIfEntry(&row);
|
apiReturn = gGetIfEntry(&row);
|
||||||
ok(apiReturn == ERROR_INVALID_DATA,
|
ok(apiReturn == ERROR_INVALID_DATA ||
|
||||||
"GetIfEntry(bogus row) returned %d, expected ERROR_INVALID_DATA\n",
|
apiReturn == ERROR_FILE_NOT_FOUND /* Vista */,
|
||||||
|
"GetIfEntry(bogus row) returned %d, expected ERROR_INVALID_DATA or ERROR_FILE_NOT_FOUND\n",
|
||||||
apiReturn);
|
apiReturn);
|
||||||
row.dwIndex = index;
|
row.dwIndex = index;
|
||||||
apiReturn = gGetIfEntry(&row);
|
apiReturn = gGetIfEntry(&row);
|
||||||
|
|
Loading…
Reference in New Issue