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
ea7c86a7
Commit
ea7c86a7
authored
Dec 19, 2016
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack/tests: Skip inf install 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
3af89f1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
advpack.c
dlls/advpack/tests/advpack.c
+7
-1
No files found.
dlls/advpack/tests/advpack.c
View file @
ea7c86a7
...
...
@@ -337,7 +337,7 @@ static void translateinfstringex_test(void)
}
create_inf_file
();
/* need to see if there are any flags */
/* try a NULL filename */
...
...
@@ -424,6 +424,12 @@ static void translateinfstringex_test(void)
/* open the inf with the install section */
hr
=
pOpenINFEngine
(
inf_file
,
"section"
,
0
,
&
hinf
,
NULL
);
if
(
hr
==
E_FAIL
)
{
skip
(
"can't open engine with install section (needs admin rights)
\n
"
);
DeleteFileA
(
inf_file
);
return
;
}
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
/* translate the string with the install section specified */
...
...
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