mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
iphlpapi/tests: Fix test on Vista.
This commit is contained in:
parent
fa68a3d9c3
commit
d1108c8774
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue