Commit e8f42514 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

ntdll/tests: Fix some test failures on Windows 10.

parent 37e4ff85
......@@ -1864,8 +1864,10 @@ static void test_readvirtualmemory(void)
/* illegal local address */
status = pNtReadVirtualMemory(process, teststring, (void *)0x1234, 12, &readcount);
ok( status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got %08x\n", status);
ok( readcount == 0, "Expected to read 0 bytes, got %ld\n",readcount);
ok( status == STATUS_ACCESS_VIOLATION || broken(status == STATUS_PARTIAL_COPY) /* Win10 */,
"Expected STATUS_ACCESS_VIOLATION, got %08x\n", status);
if (status == STATUS_ACCESS_VIOLATION)
ok( readcount == 0, "Expected to read 0 bytes, got %ld\n",readcount);
CloseHandle(process);
}
......
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