mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 10:48:29 +00:00
[APPHELP_APITEST] Addendum to r74986, make the test work on win7. CORE-13284
svn path=/trunk/; revision=75004
This commit is contained in:
parent
3d3581bab1
commit
3a302c5330
1 changed files with 5 additions and 4 deletions
|
@ -1111,7 +1111,7 @@ static void Test_ApphelpCheckRunApp(WCHAR szApphelp[256])
|
|||
ok_hex(Reason, CHECKREASON(ExpectedReason, (1 << n)));
|
||||
if (AppCompatData && AppCompatDataSize == sizeof(SDBQUERYRESULT_VISTA))
|
||||
{
|
||||
if (ExpectedReason != 0x400 && g_ModuleVersion < WINVER_WIN10)
|
||||
if (ExpectedReason != 0x400 && g_ModuleVersion < WINVER_WIN7)
|
||||
expect_layeronly(AppCompatData, "256Color", expect_flags);
|
||||
else
|
||||
ok(!memcmp(AppCompatData, &empty_result, sizeof(empty_result)), "Expected result to be empty\n");
|
||||
|
@ -1234,10 +1234,10 @@ START_TEST(env)
|
|||
DWORD ShimDataType;
|
||||
NTSTATUS ExceptionStatus = STATUS_SUCCESS;
|
||||
|
||||
SetEnvironmentVariable("SHIM_DEBUG_LEVEL", "127");
|
||||
SetEnvironmentVariable("SHIMENG_DEBUG_LEVEL", "127");
|
||||
//SetEnvironmentVariable("SHIM_DEBUG_LEVEL", "127");
|
||||
//SetEnvironmentVariable("SHIMENG_DEBUG_LEVEL", "127");
|
||||
|
||||
//silence_debug_output();
|
||||
silence_debug_output();
|
||||
|
||||
hdll = LoadLibraryA("apphelp.dll");
|
||||
|
||||
|
@ -1299,6 +1299,7 @@ START_TEST(env)
|
|||
return;
|
||||
}
|
||||
|
||||
/* New version of Win10.. */
|
||||
if (g_WinVersion == WINVER_WIN10 && ShimDataType == 3)
|
||||
g_ShimDataSize = 4096;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue