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
162a40e1
Commit
162a40e1
authored
Dec 19, 2016
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Skip devinst tests if the user doesn't have admin rights.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0922deda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
devinst.c
dlls/setupapi/tests/devinst.c
+9
-0
No files found.
dlls/setupapi/tests/devinst.c
View file @
162a40e1
...
@@ -1349,8 +1349,17 @@ static void testSetupDiGetINFClassA(void)
...
@@ -1349,8 +1349,17 @@ static void testSetupDiGetINFClassA(void)
START_TEST
(
devinst
)
START_TEST
(
devinst
)
{
{
HKEY
hkey
;
init_function_pointers
();
init_function_pointers
();
if
((
hkey
=
SetupDiOpenClassRegKey
(
NULL
,
KEY_ALL_ACCESS
))
==
INVALID_HANDLE_VALUE
)
{
skip
(
"needs admin rights
\n
"
);
return
;
}
RegCloseKey
(
hkey
);
if
(
pIsWow64Process
)
if
(
pIsWow64Process
)
pIsWow64Process
(
GetCurrentProcess
(),
&
is_wow64
);
pIsWow64Process
(
GetCurrentProcess
(),
&
is_wow64
);
...
...
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