[PATCH 0/1] MR7467: kernel32/tests: Work around Windows 7 issuing DllNotification even when loading with DONT_RESOLVE_DLL_REFERENCES
Testbot result: https://testbot.winehq.org/JobDetails.pl?Key=151596 Fixes: 99e91f1c0fcb840b4840a4a3c2b079bad817b100 Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57903 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7467
From: Jinoh Kang <jinoh.kang.kr(a)gmail.com> Fixes: 99e91f1c0fcb840b4840a4a3c2b079bad817b100 Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57903 --- dlls/kernel32/tests/loader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/kernel32/tests/loader.c b/dlls/kernel32/tests/loader.c index ae83d876019..5eef938ca1f 100644 --- a/dlls/kernel32/tests/loader.c +++ b/dlls/kernel32/tests/loader.c @@ -2881,8 +2881,8 @@ static void subtest_export_forwarder_dep_chain( size_t num_chained_export_module status = pLdrUnregisterDllNotification( cookie ); ok( !status, "LdrUnregisterDllNotification returned %#lx.\n", status ); - ok( !lnc.load_count, "got %u for load count of first module\n", lnc.load_count ); - ok( !lnc.unload_count, "got %u for unload count of first module\n", lnc.unload_count ); + ok( lnc.load_count == lnc.unload_count, "got %u/%u for load/unload count of 1st module\n", lnc.load_count, lnc.unload_count ); + ok( !lnc.load_count || broken(lnc.load_count == 1) /* win7 */, "got %u for load count of first module\n", lnc.load_count ); } if (winetest_debug > 1) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7467
This merge request was approved by Jacek Caban. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7467
participants (3)
-
Jacek Caban (@jacek) -
Jinoh Kang -
Jinoh Kang (@iamahuman)