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
8e523074
Commit
8e523074
authored
Mar 07, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Check the result of get_system_dirs and get_user_dirs.
parent
8c7d6b1c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
action.c
dlls/msi/tests/action.c
+3
-3
install.c
dlls/msi/tests/install.c
+3
-3
No files found.
dlls/msi/tests/action.c
View file @
8e523074
...
...
@@ -2138,7 +2138,7 @@ static BOOL get_system_dirs(void)
RegCloseKey
(
hkey
);
if
(
GetWindowsDirectoryA
(
WINDOWS_DIR
,
MAX_PATH
)
!=
ERROR_SUCCESS
)
if
(
!
GetWindowsDirectoryA
(
WINDOWS_DIR
,
MAX_PATH
)
)
return
FALSE
;
return
TRUE
;
...
...
@@ -6016,8 +6016,8 @@ START_TEST(action)
if
(
len
&&
(
CURR_DIR
[
len
-
1
]
==
'\\'
))
CURR_DIR
[
len
-
1
]
=
0
;
get_system_dirs
(
);
get_user_dirs
(
);
ok
(
get_system_dirs
(),
"failed to retrieve system dirs
\n
"
);
ok
(
get_user_dirs
(),
"failed to retrieve user dirs
\n
"
);
/* Create a restore point ourselves so we circumvent the multitude of restore points
* that would have been created by all the installation and removal tests.
...
...
dlls/msi/tests/install.c
View file @
8e523074
...
...
@@ -2205,7 +2205,7 @@ static BOOL get_system_dirs(void)
RegCloseKey
(
hkey
);
if
(
GetWindowsDirectoryA
(
WINDOWS_DIR
,
MAX_PATH
)
!=
ERROR_SUCCESS
)
if
(
!
GetWindowsDirectoryA
(
WINDOWS_DIR
,
MAX_PATH
)
)
return
FALSE
;
return
TRUE
;
...
...
@@ -6371,8 +6371,8 @@ START_TEST(install)
if
(
len
&&
(
CURR_DIR
[
len
-
1
]
==
'\\'
))
CURR_DIR
[
len
-
1
]
=
0
;
get_system_dirs
(
);
get_user_dirs
(
);
ok
(
get_system_dirs
(),
"failed to retrieve system dirs
\n
"
);
ok
(
get_user_dirs
(),
"failed to retrieve user dirs
\n
"
);
/* Create a restore point ourselves so we circumvent the multitude of restore points
* that would have been created by all the installation and removal tests.
...
...
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