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
b9b25c73
Commit
b9b25c73
authored
Jun 29, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jun 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Fix a test failure on a non-admin XP system.
parent
192dbae5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
registry.c
dlls/advapi32/tests/registry.c
+3
-1
No files found.
dlls/advapi32/tests/registry.c
View file @
b9b25c73
...
...
@@ -1161,7 +1161,9 @@ static void test_reg_query_value(void)
SetLastError
(
0xdeadbeef
);
size
=
MAX_PATH
;
ret
=
RegQueryValueA
((
HKEY
)
0xcafebabe
,
"subkey"
,
val
,
&
size
);
ok
(
ret
==
ERROR_INVALID_HANDLE
||
ret
==
ERROR_BADKEY
,
/* Windows 98 returns BADKEY */
ok
(
ret
==
ERROR_INVALID_HANDLE
||
ret
==
ERROR_BADKEY
||
/* Windows 98 returns BADKEY */
ret
==
ERROR_ACCESS_DENIED
,
/* non-admin winxp */
"Expected ERROR_INVALID_HANDLE or ERROR_BADKEY, got %d
\n
"
,
ret
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"Expected 0xdeadbeef, got %d
\n
"
,
GetLastError
());
...
...
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