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
e89a7735
Commit
e89a7735
authored
Apr 21, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix some test failures running with limited user.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aa11dfa8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
assoc.c
dlls/shell32/tests/assoc.c
+6
-0
No files found.
dlls/shell32/tests/assoc.c
View file @
e89a7735
...
...
@@ -150,6 +150,12 @@ static void test_IQueryAssociations_GetString(void)
int
i
=
0
;
r
=
RegCreateKeyExW
(
HKEY_CLASSES_ROOT
,
test_extensionW
,
0
,
NULL
,
0
,
KEY_ALL_ACCESS
,
NULL
,
&
test_extension_key
,
NULL
);
if
(
r
==
ERROR_ACCESS_DENIED
)
{
win_skip
(
"Not enough permissions to create a test key.
\n
"
);
return
;
}
ok
(
r
==
ERROR_SUCCESS
,
"RegCreateKeyExW(HKCR,
\"
.test
\"
) failed: 0x%lx
\n
"
,
r
);
r
=
RegSetValueExW
(
test_extension_key
,
NULL
,
0
,
REG_SZ
,
(
PBYTE
)
test_progidW
,
sizeof
(
test_progidW
));
ok
(
r
==
ERROR_SUCCESS
,
"RegSetValueExW(HKCR
\\
.test, NULL,
\"
testfile
\"
) failed: 0x%lx
\n
"
,
r
);
...
...
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