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
90422f9b
Commit
90422f9b
authored
Jan 03, 2020
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Avoid test failure when running as an unprivileged user.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ae274b25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
package.c
dlls/msi/tests/package.c
+1
-1
No files found.
dlls/msi/tests/package.c
View file @
90422f9b
...
...
@@ -4054,7 +4054,6 @@ static void test_appsearch(void)
r
=
RegCreateKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Winetest_msi"
,
0
,
NULL
,
0
,
KEY_ALL_ACCESS
|
KEY_WOW64_32KEY
,
NULL
,
&
hkey
,
NULL
);
ok
(
r
==
ERROR_SUCCESS
,
"Could not create key: %d.
\n
"
,
r
);
if
(
r
==
ERROR_ACCESS_DENIED
)
{
skip
(
"insufficient rights
\n
"
);
...
...
@@ -4063,6 +4062,7 @@ static void test_appsearch(void)
DeleteFileA
(
msifile
);
return
;
}
ok
(
r
==
ERROR_SUCCESS
,
"Could not create key: %d.
\n
"
,
r
);
r
=
RegSetValueExA
(
hkey
,
NULL
,
0
,
REG_SZ
,
(
const
BYTE
*
)
"c:
\\
windows
\\
system32
\\
notepad.exe"
,
sizeof
(
"c:
\\
windows
\\
system32
\\
notepad.exe"
));
...
...
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