Commit 1482e2f9 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

dnsapi/tests: Skip tests if no CNAME records are returned.

parent 7c7702f9
...@@ -167,6 +167,11 @@ static void test_DnsQuery(void) ...@@ -167,6 +167,11 @@ static void test_DnsQuery(void)
skip("query timed out\n"); skip("query timed out\n");
return; return;
} }
if (status == DNS_INFO_NO_RECORDS)
{
skip("no CNAME records\n");
return;
}
ok(status == ERROR_SUCCESS, "got %ld\n", status); ok(status == ERROR_SUCCESS, "got %ld\n", status);
if (status == ERROR_SUCCESS && winetest_debug > 1) if (status == ERROR_SUCCESS && winetest_debug > 1)
{ {
......
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