Author: khornicek
Date: Mon Feb 27 19:33:15 2012
New Revision: 55888

URL: http://svn.reactos.org/svn/reactos?rev=55888&view=rev
Log:
[KERNEL32_WINETEST]
Disable tests that would hit asserts due to current work on VM. Requested 
functionality is missing and will be for some time.

Modified:
    trunk/rostests/winetests/kernel32/virtual.c

Modified: trunk/rostests/winetests/kernel32/virtual.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/kernel32/virtual.c?rev=55888&r1=55887&r2=55888&view=diff
==============================================================================
--- trunk/rostests/winetests/kernel32/virtual.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/kernel32/virtual.c [iso-8859-1] Mon Feb 27 
19:33:15 2012
@@ -298,6 +298,8 @@
     memset( addr1, 0x55, 20 );
     ok( *(DWORD *)addr1 == 0x55555555, "wrong data %x\n", *(DWORD *)addr1 );
 
+    skip("MEM_RESET is not currently supported\n");
+#if 0
     addr2 = VirtualAlloc( addr1, 0x1000, MEM_RESET, PAGE_NOACCESS );
     ok( addr2 == addr1 || broken( !addr2 && GetLastError() == 
ERROR_INVALID_PARAMETER), /* win9x */
         "VirtualAlloc failed err %u\n", GetLastError() );
@@ -323,7 +325,7 @@
         ok( !addr2, "VirtualAlloc failed\n" );
         ok( GetLastError() == ERROR_INVALID_ADDRESS, "wrong error %u\n", 
GetLastError() );
     }
-
+#endif
     /* invalid protection values */
     SetLastError(0xdeadbeef);
     addr2 = VirtualAlloc(NULL, 0x1000, MEM_RESERVE, 0);
@@ -740,6 +742,8 @@
         ok(info.Type == MEM_MAPPED, "Type should have been MEM_MAPPED instead 
of 0x%x\n", info.Type);
     }
 
+    skip("MEM_RESET is not currently supported\n");
+#if 0
     addr = VirtualAlloc( ptr, MAPPING_SIZE, MEM_RESET, PAGE_READONLY );
     ok( addr == ptr || broken(!addr && GetLastError() == 
ERROR_INVALID_PARAMETER), /* win9x */
         "VirtualAlloc failed with error %u\n", GetLastError() );
@@ -748,6 +752,7 @@
     ok( !ret || broken(ret) /* win9x */, "VirtualFree succeeded\n" );
     if (!ret)
         ok( GetLastError() == ERROR_INVALID_PARAMETER, "VirtualFree failed 
with %u\n", GetLastError() );
+#endif
 
     ret = UnmapViewOfFile(ptr2);
     ok(ret, "UnmapViewOfFile failed with error %d\n", GetLastError());
@@ -1084,6 +1089,8 @@
 
 static void test_write_watch(void)
 {
+    skip("test_write_watch - MEM_WRITE_WATCH is currently not supported\n");
+#if 0
     char *base;
     DWORD ret, size, old_prot;
     MEMORY_BASIC_INFORMATION info;
@@ -1380,6 +1387,7 @@
     if (count) ok( results[0] == base + 5*pagesize, "wrong result %p\n", 
results[0] );
 
     VirtualFree( base, 0, MEM_FREE );
+#endif
 }
 
 START_TEST(virtual)


Reply via email to