Commit 6868691a authored by Jeremy White's avatar Jeremy White Committed by Alexandre Julliard

ntdll/tests: Only test the readcount for a read below 0x10000 if the return…

ntdll/tests: Only test the readcount for a read below 0x10000 if the return code indicates a partial copy result.
parent d392e0e0
......@@ -819,7 +819,8 @@ static void test_readvirtualmemory(void)
todo_wine{
status = pNtReadVirtualMemory(process, (void *) 0x1234, buffer, 12, &readcount);
ok( status == STATUS_PARTIAL_COPY, "Expected STATUS_PARTIAL_COPY, got %08x\n", status);
ok( readcount == 0, "Expected to read 0 bytes, got %ld\n",readcount);
if (status == STATUS_PARTIAL_COPY)
ok( readcount == 0, "Expected to read 0 bytes, got %ld\n",readcount);
}
/* 0 handle */
......
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