Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
f9542adb
Commit
f9542adb
authored
Dec 11, 2023
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 13, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnsapi/tests: Don't test extra records returned for CNAME query.
It depends on DNS configuration. Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=54847
parent
d748440e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
query.c
dlls/dnsapi/tests/query.c
+0
-13
No files found.
dlls/dnsapi/tests/query.c
View file @
f9542adb
...
...
@@ -180,19 +180,6 @@ static void test_DnsQuery(void)
wcscpy
(
domain
,
L"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
;
while
(
ptr
)
{
if
(
ptr
->
wType
!=
DNS_TYPE_OPT
)
{
ok
(
wcscmp
(
domain
,
ptr
->
pName
),
"did not expect a record for %s
\n
"
,
wine_dbgstr_w
(
ptr
->
pName
));
ok
(
ptr
->
wType
==
DNS_TYPE_A
||
ptr
->
wType
==
DNS_TYPE_AAAA
,
"unexpected record type %d
\n
"
,
ptr
->
wType
);
}
ptr
=
ptr
->
pNext
;
}
DnsRecordListFree
(
rec
,
DnsFreeRecordList
);
status
=
DnsQuery_W
(
L""
,
DNS_TYPE_SRV
,
DNS_QUERY_STANDARD
,
NULL
,
&
rec
,
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment