1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

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

This commit is contained in:
Hans Leidekker 2024-03-12 13:34:08 +01:00 committed by Alexandre Julliard
parent 7c7702f91d
commit 1482e2f960

View file

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