mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-21 17:09:06 -07:00
dnsapi/tests: Update tests for winehq.org DNS changes.
This commit is contained in:
parent
2930bf9f04
commit
644780cd92
1 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ static void test_DnsQuery(void)
|
|||
ptr = rec; /* CNAMEs come first */
|
||||
ok(!wcscmp(domain, ptr->pName), "expected record name %s, got %s\n", wine_dbgstr_w(domain), wine_dbgstr_w(ptr->pName));
|
||||
ok(DNS_TYPE_CNAME == ptr->wType, "expected record type %d, got %d\n", DNS_TYPE_CNAME, ptr->wType);
|
||||
wcscpy(domain, L"winehq.org");
|
||||
wcscpy(domain, L"testbot.winehq.org");
|
||||
if (ptr->wType == DNS_TYPE_CNAME)
|
||||
ok(!wcscmp(domain, ptr->Data.CNAME.pNameHost), "expected CNAME target %s, got %s\n", wine_dbgstr_w(domain), wine_dbgstr_w(ptr->Data.CNAME.pNameHost));
|
||||
ptr = ptr->pNext;
|
||||
|
@ -182,7 +182,7 @@ static void test_DnsQuery(void)
|
|||
ptr = rec;
|
||||
ok(!wcscmp(domain, ptr->pName), "expected record name %s, got %s\n", wine_dbgstr_w(domain), wine_dbgstr_w(ptr->pName));
|
||||
ok(DNS_TYPE_CNAME == ptr->wType, "expected record type %d, got %d\n", DNS_TYPE_CNAME, ptr->wType);
|
||||
wcscpy(domain, L"winehq.org");
|
||||
wcscpy(domain, L"testbot.winehq.org");
|
||||
if (ptr->wType == DNS_TYPE_CNAME)
|
||||
ok(!wcscmp(domain, ptr->Data.CNAME.pNameHost), "expected CNAME target %s, got %s\n", wine_dbgstr_w(domain), wine_dbgstr_w(ptr->Data.CNAME.pNameHost));
|
||||
DnsRecordListFree(rec, DnsFreeRecordList);
|
||||
|
|
Loading…
Reference in a new issue