From d1108c8774568f0f6e4bd47c2e7de703799ea018 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Fri, 6 Jun 2008 21:37:51 +0200 Subject: [PATCH] iphlpapi/tests: Fix test on Vista. --- dlls/iphlpapi/tests/iphlpapi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/iphlpapi/tests/iphlpapi.c b/dlls/iphlpapi/tests/iphlpapi.c index a857e99670..79a2446056 100644 --- a/dlls/iphlpapi/tests/iphlpapi.c +++ b/dlls/iphlpapi/tests/iphlpapi.c @@ -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); -- 2.32.0.93.g670b81a890