dnsapi/tests: Skip tests if no CNAME records are returned.
This commit is contained in:
parent
7c7702f91d
commit
1482e2f960
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue