[PATCH] ntdll/tests: Fix some test failures on Windows 10.
Sven Baars
sven.wine at gmail.com
Sat Oct 26 07:56:39 CDT 2019
Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
dlls/ntdll/tests/info.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index 64c39f0940..30ed6e5ef9 100644
--- a/dlls/ntdll/tests/info.c
+++ b/dlls/ntdll/tests/info.c
@@ -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);
}
--
2.17.1
More information about the wine-devel
mailing list