mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:26:00 +00:00
[APPSHIM_APITEST] Fix 2k3 test failures
This commit is contained in:
parent
b3b40b35c9
commit
1292f5f881
3 changed files with 27 additions and 20 deletions
|
@ -15,7 +15,6 @@
|
|||
#include "appshim_apitest.h"
|
||||
|
||||
static DWORD g_WinVersion;
|
||||
#define WINVER_WIN8 0x0602
|
||||
|
||||
|
||||
typedef struct expect_shim_hook
|
||||
|
@ -36,7 +35,7 @@ static expect_shim_data data[] =
|
|||
{
|
||||
{
|
||||
L"IgnoreChromeSandbox",
|
||||
WINVER_WIN8,
|
||||
_WIN32_WINNT_WIN8,
|
||||
{
|
||||
{ "KERNEL32.DLL", "CreateProcessW" },
|
||||
}
|
||||
|
@ -98,7 +97,10 @@ START_TEST(genral_hooks)
|
|||
PHOOKAPI hook = pGetHookAPIs("", current->ShimName, &num_shims);
|
||||
|
||||
if (current->MinVersion > g_WinVersion && !hook)
|
||||
{
|
||||
skip("Shim %s not present\n", wine_dbgstr_w(current->ShimName));
|
||||
continue;
|
||||
}
|
||||
|
||||
ok(!!hook, "Expected a valid pointer, got nothing for %s\n", wine_dbgstr_w(current->ShimName));
|
||||
ok(num_shims == expected_shims, "Expected %u shims, got %u for %s\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue