Andrew Nguyen : ntdll/tests: Re-enable a commented virtual memory test.
Alexandre Julliard
julliard at winehq.org
Mon Jan 18 10:58:54 CST 2010
Module: wine
Branch: master
Commit: ab23f87bcca07cf2673a1448249e2efb301d637c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ab23f87bcca07cf2673a1448249e2efb301d637c
Author: Andrew Nguyen <arethusa26 at gmail.com>
Date: Fri Jan 15 11:46:50 2010 -0600
ntdll/tests: Re-enable a commented virtual memory test.
---
dlls/ntdll/tests/info.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index dc5de94..1914564 100644
--- a/dlls/ntdll/tests/info.c
+++ b/dlls/ntdll/tests/info.c
@@ -878,14 +878,10 @@ static void test_readvirtualmemory(void)
ok( readcount == 12, "Expected to read 12 bytes, got %ld\n",readcount);
ok( strcmp(teststring, buffer) == 0, "Expected read memory to be the same as original memory\n");
- /* this test currently crashes wine with "wine client error:<process id>: read: Bad address"
- * because the reply from wine server is directly read into the buffer and that fails with EFAULT
- */
/* illegal local address */
- /*status = pNtReadVirtualMemory(process, teststring, (void *)0x1234, 12, &readcount);
- ok( status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got %08lx\n", status);
+ 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);
- */
CloseHandle(process);
}
More information about the wine-cvs
mailing list