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
a97f81ff
Commit
a97f81ff
authored
Aug 05, 2012
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Aug 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack/tests: Avoid test failures without high access rights.
parent
9716c1b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Makefile.in
dlls/advpack/tests/Makefile.in
+1
-1
install.c
dlls/advpack/tests/install.c
+6
-0
No files found.
dlls/advpack/tests/Makefile.in
View file @
a97f81ff
TESTDLL
=
advpack.dll
TESTDLL
=
advpack.dll
IMPORTS
=
cabinet advapi32
IMPORTS
=
cabinet advapi32
advpack
C_SRCS
=
\
C_SRCS
=
\
advpack.c
\
advpack.c
\
...
...
dlls/advpack/tests/install.c
View file @
a97f81ff
...
@@ -259,6 +259,12 @@ START_TEST(install)
...
@@ -259,6 +259,12 @@ START_TEST(install)
if
(
!
init_function_pointers
())
if
(
!
init_function_pointers
())
return
;
return
;
if
(
!
IsNTAdmin
(
0
,
NULL
))
{
skip
(
"Most tests need admin rights
\n
"
);
return
;
}
GetCurrentDirectoryA
(
MAX_PATH
,
prev_path
);
GetCurrentDirectoryA
(
MAX_PATH
,
prev_path
);
GetTempPath
(
MAX_PATH
,
temp_path
);
GetTempPath
(
MAX_PATH
,
temp_path
);
SetCurrentDirectoryA
(
temp_path
);
SetCurrentDirectoryA
(
temp_path
);
...
...
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