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
477df623
Commit
477df623
authored
May 16, 2023
by
Francois Gouget
Committed by
Alexandre Julliard
May 16, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnsapi/tests: Ignore OPT records in the CNAME tests.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=54848
parent
4c9e3051
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
query.c
dlls/dnsapi/tests/query.c
+8
-5
No files found.
dlls/dnsapi/tests/query.c
View file @
477df623
...
...
@@ -110,7 +110,7 @@ static void test_DnsQuery(void)
{
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
,
ok
(
ptr
->
wType
==
DNS_TYPE_A
||
ptr
->
wType
==
DNS_TYPE_AAAA
||
ptr
->
wType
==
DNS_TYPE_OPT
,
"unexpected record type %d
\n
"
,
ptr
->
wType
);
ptr
=
ptr
->
pNext
;
}
...
...
@@ -145,10 +145,13 @@ static void test_DnsQuery(void)
while
(
ptr
)
{
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
);
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
);
...
...
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