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
485a412b
Commit
485a412b
authored
Mar 05, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 07, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Fix tests failing on limited account.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0beb178a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
compobj.c
dlls/ole32/tests/compobj.c
+8
-4
No files found.
dlls/ole32/tests/compobj.c
View file @
485a412b
...
...
@@ -2364,17 +2364,21 @@ static void test_OleRegGetUserType(void)
StringFromGUID2
(
&
CLSID_non_existent
,
clsidW
,
sizeof
(
clsidW
)
/
sizeof
(
clsidW
[
0
]));
ret
=
RegCreateKeyExW
(
HKEY_CLASSES_ROOT
,
clsidkeyW
,
0
,
NULL
,
0
,
KEY_ALL_ACCESS
,
NULL
,
&
clsidhkey
,
&
disposition
);
if
(
!
ret
)
{
ret
=
RegCreateKeyExW
(
clsidhkey
,
clsidW
,
0
,
NULL
,
0
,
KEY_ALL_ACCESS
,
NULL
,
&
classkey
,
NULL
);
if
(
ret
)
RegCloseKey
(
clsidhkey
);
}
if
(
ret
==
ERROR_ACCESS_DENIED
)
{
skip
(
"Failed to create test key, skipping some of OleRegGetUserType() tests.
\n
"
);
win_
skip
(
"Failed to create test key, skipping some of OleRegGetUserType() tests.
\n
"
);
return
;
}
ok
(
!
ret
,
"failed to create a key %d, error %d
\n
"
,
ret
,
GetLastError
());
ret
=
RegCreateKeyExW
(
clsidhkey
,
clsidW
,
0
,
NULL
,
0
,
KEY_ALL_ACCESS
,
NULL
,
&
classkey
,
NULL
);
ok
(
!
ret
,
"failed to create a key %d, error %d
\n
"
,
ret
,
GetLastError
());
ret
=
RegSetValueExW
(
classkey
,
NULL
,
0
,
REG_SZ
,
(
const
BYTE
*
)
defvalueW
,
sizeof
(
defvalueW
));
ok
(
!
ret
,
"got %d, error %d
\n
"
,
ret
,
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