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
e04fe246
Commit
e04fe246
authored
Jun 12, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Fix checks to be more informative when they fail.
parent
2c28b62a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
register.c
dlls/wintrust/tests/register.c
+2
-2
No files found.
dlls/wintrust/tests/register.c
View file @
e04fe246
...
...
@@ -320,14 +320,14 @@ static void test_RegPolicyFlags(void)
ok
(
!
r
,
"RegQueryValueEx failed: %d
\n
"
,
r
);
pGetFlags
(
&
flags2
);
ok
(
flags1
==
flags2
,
"
Didn't get expected flags
\n
"
);
ok
(
flags1
==
flags2
,
"
Got %08x flags instead of %08x
\n
"
,
flags1
,
flags2
);
flags3
=
flags2
|
1
;
ret
=
pSetFlags
(
flags3
);
ok
(
ret
,
"pSetFlags failed: %d
\n
"
,
GetLastError
());
size
=
sizeof
(
flags1
);
r
=
RegQueryValueExA
(
key
,
State
,
NULL
,
NULL
,
(
LPBYTE
)
&
flags1
,
&
size
);
ok
(
flags1
==
flags3
,
"
Didn't get expected flags
\n
"
);
ok
(
flags1
==
flags3
,
"
Got %08x flags instead of %08x
\n
"
,
flags1
,
flags3
);
pSetFlags
(
flags2
);
...
...
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