Dmitry Timoshkov : ntdll: Change the virtual memory test to accept both READWRITE and WRITECOPY protections .
Alexandre Julliard
julliard at winehq.org
Wed Nov 23 13:40:07 CST 2011
Module: wine
Branch: master
Commit: 277259157b5c68123cb6c5ee6c5acee6cc832834
URL: http://source.winehq.org/git/wine.git/?a=commit;h=277259157b5c68123cb6c5ee6c5acee6cc832834
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Tue Nov 22 21:14:55 2011 +0800
ntdll: Change the virtual memory test to accept both READWRITE and WRITECOPY protections.
---
dlls/ntdll/tests/info.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index ec1ce3d..440f602 100644
--- a/dlls/ntdll/tests/info.c
+++ b/dlls/ntdll/tests/info.c
@@ -1293,7 +1293,8 @@ static void test_queryvirtualmemory(void)
{
ok (mbi.AllocationProtect == PAGE_EXECUTE_WRITECOPY, "mbi.AllocationProtect is 0x%x, expected 0x%x\n", mbi.AllocationProtect, PAGE_EXECUTE_WRITECOPY);
ok (mbi.State == MEM_COMMIT, "mbi.State is 0x%x, expected 0x%X\n", mbi.State, MEM_COMMIT);
- ok (mbi.Protect == PAGE_READWRITE, "mbi.Protect is 0x%x, expected 0x%X\n", mbi.Protect, PAGE_READWRITE);
+ ok (mbi.Protect == PAGE_READWRITE || mbi.Protect == PAGE_WRITECOPY,
+ "mbi.Protect is 0x%x\n", mbi.Protect);
}
else skip( "bss is outside of module\n" ); /* this can happen on Mac OS */
}
More information about the wine-cvs
mailing list