Module: wine Branch: master Commit: 1482e2f960d9997a0e1fc23c2c72151d4bf64be7 URL: https://gitlab.winehq.org/wine/wine/-/commit/1482e2f960d9997a0e1fc23c2c72151...
Author: Hans Leidekker hans@codeweavers.com Date: Tue Mar 12 13:34:08 2024 +0100
dnsapi/tests: Skip tests if no CNAME records are returned.
---
dlls/dnsapi/tests/query.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/dlls/dnsapi/tests/query.c b/dlls/dnsapi/tests/query.c index 1412fdfa17b..d2472f61f88 100644 --- a/dlls/dnsapi/tests/query.c +++ b/dlls/dnsapi/tests/query.c @@ -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) {