Morten Rønne <morten.roenne(a)tdcadsl.dk> writes:
> diff --git a/dlls/wininet/tests/urlcache.c b/dlls/wininet/tests/urlcache.c
> index 02d8d28..1bf3f23 100644
> --- a/dlls/wininet/tests/urlcache.c
> +++ b/dlls/wininet/tests/urlcache.c
> @@ -60,7 +60,20 @@ static void test_find_url_cache_entriesA(void)
> hEnumHandle = FindFirstUrlCacheEntry(NULL, NULL, &cbCacheEntryInfo);
> ok(!hEnumHandle, "FindFirstUrlCacheEntry should have failed\n");
> ok(GetLastError() == ERROR_INSUFFICIENT_BUFFER, "FindFirstUrlCacheEntry should have set last error to ERROR_INSUFFICIENT_BUFFER instead of %d\n", GetLastError());
> + if (GetLastError() != ERROR_INSUFFICIENT_BUFFER)
> + {
> + skip("Find*UrlCacheEntry tests skipped, due to wrong return value\n");
> + return;
> + }
You don't need to add skip() for that sort of thing, it's not supposed
to happen, and if it does there will already be a test failure in the
report.
--
Alexandre Julliard
julliard(a)winehq.org