Commit e2206eef authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

psapi/tests: Remove an unreliable test.

This fails on Windows 10 version 1709 and later. Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent ccf3dabd
...@@ -724,7 +724,6 @@ static void test_GetModuleBaseName(void) ...@@ -724,7 +724,6 @@ static void test_GetModuleBaseName(void)
static void test_ws_functions(void) static void test_ws_functions(void)
{ {
PSAPI_WS_WATCH_INFORMATION wswi[4096]; PSAPI_WS_WATCH_INFORMATION wswi[4096];
ULONG_PTR pages[4096];
HANDLE ws_handle; HANDLE ws_handle;
char *addr; char *addr;
unsigned int i; unsigned int i;
...@@ -774,22 +773,6 @@ static void test_ws_functions(void) ...@@ -774,22 +773,6 @@ static void test_ws_functions(void)
} }
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
ret = QueryWorkingSet(hpQI, pages, 4096 * sizeof(ULONG_PTR));
todo_wine ok(ret == 1, "failed with %d\n", GetLastError());
if(ret == 1)
{
for(i = 0; i < pages[0]; i++)
if((pages[i+1] & ~0xfffL) == (ULONG_PTR)addr)
{
todo_wine ok(ret == 1, "QueryWorkingSet found our page\n");
goto test_gwsc;
}
todo_wine ok(0, "QueryWorkingSet didn't find our page\n");
}
test_gwsc:
SetLastError(0xdeadbeef);
ret = GetWsChanges(hpQI, wswi, sizeof(wswi)); ret = GetWsChanges(hpQI, wswi, sizeof(wswi));
todo_wine ok(ret == 1, "failed with %d\n", GetLastError()); todo_wine ok(ret == 1, "failed with %d\n", GetLastError());
if(ret == 1) if(ret == 1)
......
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