Commit dcdd98f5 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ntdll/tests: Don't check the load address in the WoW64 case.

It could sometimes be NULL, such as win32k.sys on Win <= 7. Signed-off-by: 's avatarFrancois Gouget <fgouget@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 58ff2a0a
......@@ -490,7 +490,7 @@ static void test_query_module(void)
const SYSTEM_MODULE *module = &info->Modules[i];
ok(module->LoadOrderIndex == i, "%u: got index %u\n", i, module->LoadOrderIndex);
ok(!!module->ImageBaseAddress, "%u: got NULL address\n", i);
ok(module->ImageBaseAddress || is_wow64, "%u: got NULL address for %s\n", i, module->Name);
ok(module->ImageSize, "%u: got 0 size\n", i);
ok(module->LoadCount, "%u: got 0 load count\n", i);
}
......@@ -516,7 +516,7 @@ static void test_query_module(void)
const SYSTEM_MODULE *module = &infoex->BaseInfo;
ok(module->LoadOrderIndex == i, "%u: got index %u\n", i, module->LoadOrderIndex);
ok(!!module->ImageBaseAddress, "%u: got NULL address\n", i);
ok(module->ImageBaseAddress || is_wow64, "%u: got NULL address for %s\n", i, module->Name);
ok(module->ImageSize, "%u: got 0 size\n", i);
ok(module->LoadCount, "%u: got 0 load count\n", i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment