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
d3bbc023
Commit
d3bbc023
authored
Apr 20, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Apr 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Fix a test that fails in win2k3.
parent
a5d15b3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
registry.c
dlls/advapi32/tests/registry.c
+6
-2
No files found.
dlls/advapi32/tests/registry.c
View file @
d3bbc023
...
...
@@ -786,9 +786,13 @@ static void test_get_value(void)
ret
=
pRegGetValueA
(
hkey_main
,
NULL
,
"TP1_ZB_SZ"
,
RRF_RT_REG_SZ
,
&
type
,
buf
,
&
size
);
ok
(
ret
==
ERROR_SUCCESS
,
"ret=%d
\n
"
,
ret
);
/* v5.2.3790.1830 (2003 SP1) returns sTestpath1 length + 2 here. */
ok
(
size
==
0
,
"size=%d
\n
"
,
size
);
ok
(
size
==
0
||
size
==
1
,
/* win2k3 */
"size=%d
\n
"
,
size
);
ok
(
type
==
REG_SZ
,
"type=%d
\n
"
,
type
);
ok
(
!
strcmp
(
sTestpath1
,
buf
),
"sTestpath=
\"
%s
\"
buf=
\"
%s
\"\n
"
,
sTestpath1
,
buf
);
ok
(
!
strcmp
(
sTestpath1
,
buf
)
||
!
strcmp
(
buf
,
""
),
"Expected
\"
%s
\"
or
\"\"
, got
\"
%s
\"\n
"
,
sTestpath1
,
buf
);
/* Query REG_SZ using RRF_RT_REG_SZ|RRF_NOEXPAND (ok) */
buf
[
0
]
=
0
;
type
=
0xdeadbeef
;
size
=
sizeof
(
buf
);
...
...
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