Alexandre Julliard : kernel32/tests: Remove a couple of invalid tests.

Alexandre Julliard julliard at winehq.org
Thu May 10 14:17:57 CDT 2012


Module: wine
Branch: master
Commit: 5f20ecc62a774eb295ed3222d5842eecb68c8d93
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5f20ecc62a774eb295ed3222d5842eecb68c8d93

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed May  9 23:21:07 2012 +0200

kernel32/tests: Remove a couple of invalid tests.

---

 dlls/kernel32/tests/virtual.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/kernel32/tests/virtual.c b/dlls/kernel32/tests/virtual.c
index 73a5206..d02ca34 100644
--- a/dlls/kernel32/tests/virtual.c
+++ b/dlls/kernel32/tests/virtual.c
@@ -851,7 +851,6 @@ static void test_MapViewOfFile(void)
     ret = VirtualQuery(ptr, &info, sizeof(info));
     ok(ret, "VirtualQuery error %d\n", GetLastError());
     ok(info.BaseAddress == ptr, "got %p != expected %p\n", info.BaseAddress, ptr);
-    ok(info.RegionSize != MAPPING_SIZE, "got size %#lx\n", info.RegionSize);
     ok(info.Protect == PAGE_NOACCESS, "got %#x != expected PAGE_NOACCESS\n", info.Protect);
     ok(info.AllocationBase == NULL, "%p != NULL\n", info.AllocationBase);
     ok(info.AllocationProtect == 0, "%#x != 0\n", info.AllocationProtect);
@@ -932,7 +931,6 @@ static void test_MapViewOfFile(void)
     ret = VirtualQuery(ptr, &info, sizeof(info));
     ok(ret, "VirtualQuery error %d\n", GetLastError());
     ok(info.BaseAddress == ptr, "got %p != expected %p\n", info.BaseAddress, ptr);
-    ok(info.RegionSize != MAPPING_SIZE, "got size %#lx\n", info.RegionSize);
     ok(info.Protect == PAGE_NOACCESS, "got %#x != expected PAGE_NOACCESS\n", info.Protect);
     ok(info.AllocationBase == NULL, "%p != NULL\n", info.AllocationBase);
     ok(info.AllocationProtect == 0, "%#x != 0\n", info.AllocationProtect);




More information about the wine-cvs mailing list