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
76dfff11
Commit
76dfff11
authored
Apr 24, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Apr 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Fix a test that fails in win2k3 SP2.
parent
fa9a2692
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
registry.c
dlls/advapi32/tests/registry.c
+3
-2
No files found.
dlls/advapi32/tests/registry.c
View file @
76dfff11
...
...
@@ -806,8 +806,9 @@ static void test_get_value(void)
size
=
0
;
ret
=
pRegGetValueA
(
hkey_main
,
NULL
,
"TP2_EXP_SZ"
,
RRF_RT_REG_SZ
,
NULL
,
NULL
,
&
size
);
ok
(
ret
==
ERROR_SUCCESS
,
"ret=%d
\n
"
,
ret
);
/* At least v5.2.3790.1830 (2003 SP1) returns the unexpanded sTestpath2 length + 1 here. */
ok
((
size
==
strlen
(
expanded2
)
+
1
)
||
(
size
==
strlen
(
sTestpath2
)
+
1
),
ok
((
size
==
strlen
(
expanded2
)
+
1
)
||
/* win2k3 SP1 */
(
size
==
strlen
(
expanded2
)
+
2
)
||
/* win2k3 SP2 */
(
size
==
strlen
(
sTestpath2
)
+
1
),
"strlen(expanded2)=%d, strlen(sTestpath2)=%d, size=%d
\n
"
,
lstrlenA
(
expanded2
),
lstrlenA
(
sTestpath2
),
size
);
/* Query REG_EXPAND_SZ using RRF_RT_REG_SZ (ok, expands) */
...
...
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