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
a892bf59
Commit
a892bf59
authored
Sep 28, 2019
by
Sven Baars
Committed by
Alexandre Julliard
Sep 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix a test failure on Windows XP.
Signed-off-by:
Sven Baars
<
sven.wine@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ba2def25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
actctx.c
dlls/kernel32/tests/actctx.c
+7
-6
No files found.
dlls/kernel32/tests/actctx.c
View file @
a892bf59
...
@@ -3308,9 +3308,9 @@ static void test_two_dlls_at_same_time(void)
...
@@ -3308,9 +3308,9 @@ static void test_two_dlls_at_same_time(void)
char
path1
[
MAX_PATH
],
path2
[
MAX_PATH
];
char
path1
[
MAX_PATH
],
path2
[
MAX_PATH
];
if
(
!
fill_sxs_info
(
&
dll_1
,
"1"
,
"dummy.dll"
,
two_dll_manifest_exe
,
two_dll_manifest_dll
,
TRUE
))
if
(
!
fill_sxs_info
(
&
dll_1
,
"1"
,
"dummy.dll"
,
two_dll_manifest_exe
,
two_dll_manifest_dll
,
TRUE
))
goto
cleanup
;
goto
cleanup
1
;
if
(
!
fill_sxs_info
(
&
dll_2
,
"2"
,
"dummy.dll"
,
two_dll_manifest_exe
,
two_dll_manifest_dll
,
TRUE
))
if
(
!
fill_sxs_info
(
&
dll_2
,
"2"
,
"dummy.dll"
,
two_dll_manifest_exe
,
two_dll_manifest_dll
,
TRUE
))
goto
cleanup
;
goto
cleanup
2
;
ok
(
dll_1
.
module
!=
dll_2
.
module
,
"Libraries are the same
\n
"
);
ok
(
dll_1
.
module
!=
dll_2
.
module
,
"Libraries are the same
\n
"
);
dll_1
.
get_path
(
path1
,
sizeof
(
path1
));
dll_1
.
get_path
(
path1
,
sizeof
(
path1
));
...
@@ -3318,13 +3318,14 @@ static void test_two_dlls_at_same_time(void)
...
@@ -3318,13 +3318,14 @@ static void test_two_dlls_at_same_time(void)
dll_2
.
get_path
(
path2
,
sizeof
(
path2
));
dll_2
.
get_path
(
path2
,
sizeof
(
path2
));
ok
(
strcmp
(
path2
,
dll_2
.
path_dll
)
==
0
,
"Got '%s', expected '%s'
\n
"
,
path2
,
dll_2
.
path_dll
);
ok
(
strcmp
(
path2
,
dll_2
.
path_dll
)
==
0
,
"Got '%s', expected '%s'
\n
"
,
path2
,
dll_2
.
path_dll
);
cleanup:
cleanup2:
if
(
dll_1
.
module
)
FreeLibrary
(
dll_1
.
module
);
if
(
dll_2
.
module
)
if
(
dll_2
.
module
)
FreeLibrary
(
dll_2
.
module
);
FreeLibrary
(
dll_2
.
module
);
clean_sxs_info
(
&
dll_1
);
clean_sxs_info
(
&
dll_2
);
clean_sxs_info
(
&
dll_2
);
cleanup1:
if
(
dll_1
.
module
)
FreeLibrary
(
dll_1
.
module
);
clean_sxs_info
(
&
dll_1
);
}
}
/* Test loading a normal dll and then a sxs dll with the same name */
/* Test loading a normal dll and then a sxs dll with the same name */
...
...
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