Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
97cfb3ad
Commit
97cfb3ad
authored
Oct 29, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Oct 31, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Don't neglect status to ignore on a Windows platform when a test is todo_wine.
parent
003392b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
chain.c
dlls/crypt32/tests/chain.c
+18
-4
No files found.
dlls/crypt32/tests/chain.c
View file @
97cfb3ad
...
...
@@ -1167,12 +1167,19 @@ static void checkElementStatus(const CERT_TRUST_STATUS *expected,
const
CERT_TRUST_STATUS
*
got
,
const
CERT_TRUST_STATUS
*
ignore
,
DWORD
todo
,
DWORD
testIndex
,
DWORD
chainIndex
,
DWORD
elementIndex
)
{
if
(
todo
&
TODO_ERROR
&&
got
->
dwErrorStatus
!=
expected
->
dwErrorStatus
)
todo_wine
if
(
got
->
dwErrorStatus
==
expected
->
dwErrorStatus
)
ok
(
got
->
dwErrorStatus
==
expected
->
dwErrorStatus
,
"Chain %d, element [%d,%d]: expected error %08x, got %08x
\n
"
,
testIndex
,
chainIndex
,
elementIndex
,
expected
->
dwErrorStatus
,
got
->
dwErrorStatus
);
else
if
(
todo
&
TODO_ERROR
)
todo_wine
ok
(
got
->
dwErrorStatus
==
expected
->
dwErrorStatus
||
broken
((
got
->
dwErrorStatus
&
~
ignore
->
dwErrorStatus
)
==
expected
->
dwErrorStatus
),
"Chain %d, element [%d,%d]: expected error %08x, got %08x
\n
"
,
testIndex
,
chainIndex
,
elementIndex
,
expected
->
dwErrorStatus
,
got
->
dwErrorStatus
);
else
ok
(
got
->
dwErrorStatus
==
expected
->
dwErrorStatus
||
broken
((
got
->
dwErrorStatus
&
~
ignore
->
dwErrorStatus
)
==
...
...
@@ -1180,12 +1187,19 @@ static void checkElementStatus(const CERT_TRUST_STATUS *expected,
"Chain %d, element [%d,%d]: expected error %08x, got %08x
\n
"
,
testIndex
,
chainIndex
,
elementIndex
,
expected
->
dwErrorStatus
,
got
->
dwErrorStatus
);
if
(
todo
&
TODO_INFO
&&
got
->
dwInfoStatus
!=
expected
->
dwInfoStatus
)
todo_wine
if
(
got
->
dwInfoStatus
==
expected
->
dwInfoStatus
)
ok
(
got
->
dwInfoStatus
==
expected
->
dwInfoStatus
,
"Chain %d, element [%d,%d]: expected info %08x, got %08x
\n
"
,
testIndex
,
chainIndex
,
elementIndex
,
expected
->
dwInfoStatus
,
got
->
dwInfoStatus
);
else
if
(
todo
&
TODO_INFO
)
todo_wine
ok
(
got
->
dwInfoStatus
==
expected
->
dwInfoStatus
||
broken
((
got
->
dwInfoStatus
&
~
ignore
->
dwInfoStatus
)
==
expected
->
dwInfoStatus
),
"Chain %d, element [%d,%d]: expected info %08x, got %08x
\n
"
,
testIndex
,
chainIndex
,
elementIndex
,
expected
->
dwInfoStatus
,
got
->
dwInfoStatus
);
else
ok
(
got
->
dwInfoStatus
==
expected
->
dwInfoStatus
||
broken
((
got
->
dwInfoStatus
&
~
ignore
->
dwInfoStatus
)
==
...
...
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