From 8cb8fb476144c0838f8c6e675144e62141540077 Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Wed, 25 Mar 2009 14:37:01 +0000 Subject: [PATCH] Remove all Skip hacks from the Wine tests as we resume from crashes now svn path=/trunk/; revision=40229 --- rostests/winetests/advapi32/roshack.diff | 48 ------------------------ rostests/winetests/advapi32/security.c | 4 -- rostests/winetests/comctl32/roshack.diff | 15 -------- rostests/winetests/gdi32/font.c | 3 -- rostests/winetests/gdi32/mapping.c | 2 - rostests/winetests/kernel32/process.c | 3 -- rostests/winetests/kernel32/roshack.diff | 28 -------------- rostests/winetests/kernel32/thread.c | 3 -- rostests/winetests/kernel32/virtual.c | 6 --- rostests/winetests/ntdll/port.c | 3 -- rostests/winetests/ntdll/roshack.diff | 14 ------- rostests/winetests/ole32/roshack.diff | 14 ------- rostests/winetests/shell32/roshack.diff | 27 ------------- rostests/winetests/shell32/shlexec.c | 2 - rostests/winetests/shell32/systray.c | 3 -- 15 files changed, 175 deletions(-) delete mode 100644 rostests/winetests/advapi32/roshack.diff delete mode 100644 rostests/winetests/comctl32/roshack.diff delete mode 100644 rostests/winetests/kernel32/roshack.diff delete mode 100644 rostests/winetests/ntdll/roshack.diff delete mode 100644 rostests/winetests/ole32/roshack.diff delete mode 100644 rostests/winetests/shell32/roshack.diff diff --git a/rostests/winetests/advapi32/roshack.diff b/rostests/winetests/advapi32/roshack.diff deleted file mode 100644 index 2da7e2b3d07..00000000000 --- a/rostests/winetests/advapi32/roshack.diff +++ /dev/null @@ -1,48 +0,0 @@ -Index: security.c -=================================================================== ---- security.c (revision 37998) -+++ security.c (working copy) -@@ -2665,13 +2665,17 @@ - return; - } - -+ /* ReactOS Hack: ros' Security Descriptor string parsing sucks */ -+ skip("ROS-HACK: Skipping 'test_PrivateObjectSecurity' -- ros' SID string parsing sucks\n"); -+ return; -+ - ok(pConvertStringSecurityDescriptorToSecurityDescriptorA( - "O:SY" - "G:S-1-5-21-93476-23408-4576" - "D:(A;NP;GAGXGWGR;;;SU)(A;IOID;CCDC;;;SU)" - "(D;OICI;0xffffffff;;;S-1-5-21-93476-23408-4576)" - "S:(AU;OICINPIOIDSAFA;CCDCLCSWRPRC;;;SU)(AU;NPSA;0x12019f;;;SU)", -- SDDL_REVISION_1, &sec, &dwDescSize), "Creating descriptor failed\n"); -+ SDDL_REVISION_1, &sec, &dwDescSize), "Creating descriptor failed\n"); // FIXME: ConvertStringSecurityDescriptorToSecurityDescriptor fails and 'sec' isn't set - - test_SetSecurityDescriptorControl(sec); - -=================================================================== ---- security.c (revision 38229) -+++ security.c (working copy) -@@ -2840,6 +2840,7 @@ - - /* If we don't ask for the security descriptor, Windows will still give us - the other stuff, leaving us no way to free it. */ -+ dacl = NULL; - ret = pGetSecurityInfo(obj, SE_FILE_OBJECT, - OWNER_SECURITY_INFORMATION | GROUP_SECURITY_INFORMATION | DACL_SECURITY_INFORMATION, - &owner, &group, &dacl, NULL, NULL); -@@ -2847,8 +2848,12 @@ - ok(owner != NULL, "GetSecurityInfo\n"); - ok(group != NULL, "GetSecurityInfo\n"); - ok(dacl != NULL, "GetSecurityInfo\n"); -- ok(IsValidAcl(dacl), "GetSecurityInfo\n"); - -+ if (dacl != NULL) -+ { -+ ok(IsValidAcl(dacl), "GetSecurityInfo\n"); -+ } -+ - CloseHandle(obj); - } - diff --git a/rostests/winetests/advapi32/security.c b/rostests/winetests/advapi32/security.c index 3b86e5eabb3..9fac210d48f 100644 --- a/rostests/winetests/advapi32/security.c +++ b/rostests/winetests/advapi32/security.c @@ -2804,10 +2804,6 @@ static void test_PrivateObjectSecurity(void) return; } - /* ReactOS Hack: ros' Security Descriptor string parsing sucks */ - skip("ROS-HACK: Skipping 'test_PrivateObjectSecurity' -- ros' SID string parsing sucks\n"); - return; - ok(pConvertStringSecurityDescriptorToSecurityDescriptorA( "O:SY" "G:S-1-5-21-93476-23408-4576" diff --git a/rostests/winetests/comctl32/roshack.diff b/rostests/winetests/comctl32/roshack.diff deleted file mode 100644 index 33fb4c906f5..00000000000 --- a/rostests/winetests/comctl32/roshack.diff +++ /dev/null @@ -1,15 +0,0 @@ -Index: mru.c -=================================================================== ---- mru.c (revision 38062) -+++ mru.c (working copy) -@@ -418,6 +418,10 @@ - { - hComctl32 = GetModuleHandleA("comctl32.dll"); - -+ /* The registry usage here crashes the system because of broken Cm -- remove this when Cm gets fixed */ -+ skip("ROS-HACK: Skipping mru tests -- Cm is broken\n"); -+ return; -+ - delete_reg_entries(); - if (!create_reg_entries()) - return; diff --git a/rostests/winetests/gdi32/font.c b/rostests/winetests/gdi32/font.c index 1d9b4fc9b0f..f2fde192b9a 100644 --- a/rostests/winetests/gdi32/font.c +++ b/rostests/winetests/gdi32/font.c @@ -285,9 +285,6 @@ static void test_bitmap_font(void) SIZE size_orig; INT ret, i, width_orig, height_orig, scale, lfWidth; - skip("ROS-HACK: Skipping bitmap font tests!\n"); - return; - hdc = GetDC(0); /* "System" has only 1 pixel size defined, otherwise the test breaks */ diff --git a/rostests/winetests/gdi32/mapping.c b/rostests/winetests/gdi32/mapping.c index dc9cc030c5a..7e85ca9e05a 100644 --- a/rostests/winetests/gdi32/mapping.c +++ b/rostests/winetests/gdi32/mapping.c @@ -297,8 +297,6 @@ static void test_isotropic_mapping(void) START_TEST(mapping) { - skip("ROS-HACK: Skipping mapping tests!\n"); - return; test_modify_world_transform(); test_world_transform(); test_isotropic_mapping(); diff --git a/rostests/winetests/kernel32/process.c b/rostests/winetests/kernel32/process.c index c0c930cec73..0568b527e03 100755 --- a/rostests/winetests/kernel32/process.c +++ b/rostests/winetests/kernel32/process.c @@ -1202,9 +1202,6 @@ static void test_Console(void) const char* msg = "This is a std-handle inheritance test."; unsigned msg_len; BOOL run_tests = TRUE; - - skip("ROS-HACK: Skipping process console tests\n"); - return; memset(&startup, 0, sizeof(startup)); startup.cb = sizeof(startup); diff --git a/rostests/winetests/kernel32/roshack.diff b/rostests/winetests/kernel32/roshack.diff deleted file mode 100644 index d1762c6e231..00000000000 --- a/rostests/winetests/kernel32/roshack.diff +++ /dev/null @@ -1,28 +0,0 @@ -Index: pipe.c -=================================================================== ---- pipe.c (revision 38314) -+++ pipe.c (working copy) -@@ -1327,6 +1327,9 @@ - { - HMODULE hmod; - -+ skip("ROS-HACK: Skipping pipe tests -- ros' npfs is in a sorry state\n"); -+ return; -+ - hmod = GetModuleHandle("advapi32.dll"); - pDuplicateTokenEx = (void *) GetProcAddress(hmod, "DuplicateTokenEx"); - -Index: process.c -=================================================================== ---- process.c (revision 38314) -+++ process.c (working copy) -@@ -1202,6 +1202,9 @@ - const char* msg = "This is a std-handle inheritance test."; - unsigned msg_len; - BOOL run_tests = TRUE; -+ -+ skip("ROS-HACK: Skipping process console tests\n"); -+ return; - - memset(&startup, 0, sizeof(startup)); - startup.cb = sizeof(startup); diff --git a/rostests/winetests/kernel32/thread.c b/rostests/winetests/kernel32/thread.c index 396ed193bad..0030422b5fe 100755 --- a/rostests/winetests/kernel32/thread.c +++ b/rostests/winetests/kernel32/thread.c @@ -979,9 +979,6 @@ static void test_RegisterWaitForSingleObject(void) return; } - skip("ROS-HACK: Skipping RegisterWaitForSingleObject tests\n"); - return; - /* test signaled case */ handle = CreateEvent(NULL, TRUE, TRUE, NULL); diff --git a/rostests/winetests/kernel32/virtual.c b/rostests/winetests/kernel32/virtual.c index 3345a01b532..5bd0c016642 100755 --- a/rostests/winetests/kernel32/virtual.c +++ b/rostests/winetests/kernel32/virtual.c @@ -304,9 +304,6 @@ static void test_MapViewOfFile(void) MEMORY_BASIC_INFORMATION info; BOOL ret; - skip("ROS-HACK: Skipping MapViewOfFile tests\n"); - return; - SetLastError(0xdeadbeef); file = CreateFileA( testfile, GENERIC_READ|GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, 0, 0 ); ok( file != INVALID_HANDLE_VALUE, "CreateFile error %u\n", GetLastError() ); @@ -781,9 +778,6 @@ static void test_write_watch(void) return; } - skip("ROS-HACK: Skipping WriteWatch tests\n"); - return; - size = 0x10000; base = VirtualAlloc( 0, size, MEM_RESERVE | MEM_COMMIT | MEM_WRITE_WATCH, PAGE_READWRITE ); if (!base && diff --git a/rostests/winetests/ntdll/port.c b/rostests/winetests/ntdll/port.c index c3da5d5f8a6..c63820a37fd 100644 --- a/rostests/winetests/ntdll/port.c +++ b/rostests/winetests/ntdll/port.c @@ -310,9 +310,6 @@ START_TEST(port) { HANDLE thread; DWORD id; - - skip("ROS-HACK: Skipping port tests -- missing NtReplyPort and NtRequestPort\n"); - return; if (!init_function_ptrs()) return; diff --git a/rostests/winetests/ntdll/roshack.diff b/rostests/winetests/ntdll/roshack.diff deleted file mode 100644 index 79c0f622b22..00000000000 --- a/rostests/winetests/ntdll/roshack.diff +++ /dev/null @@ -1,14 +0,0 @@ -Index: port.c -=================================================================== ---- port.c (revision 38229) -+++ port.c (working copy) -@@ -310,6 +310,9 @@ - { - HANDLE thread; - DWORD id; -+ -+ skip("ROS-HACK: Skipping port tests -- missing NtReplyPort and NtRequestPort\n"); -+ return; - - if (!init_function_ptrs()) - return; diff --git a/rostests/winetests/ole32/roshack.diff b/rostests/winetests/ole32/roshack.diff deleted file mode 100644 index 3e7f0fd5b72..00000000000 --- a/rostests/winetests/ole32/roshack.diff +++ /dev/null @@ -1,14 +0,0 @@ -Index: compobj.c -=================================================================== ---- compobj.c (revision 38229) -+++ compobj.c (working copy) -@@ -1024,6 +1024,9 @@ - - START_TEST(compobj) - { -+ skip("ROS-HACK: Skipping compobj tests\n"); -+ return; -+ - HMODULE hOle32 = GetModuleHandle("ole32"); - pCoGetObjectContext = (void*)GetProcAddress(hOle32, "CoGetObjectContext"); - if (!(pCoInitializeEx = (void*)GetProcAddress(hOle32, "CoInitializeEx"))) diff --git a/rostests/winetests/shell32/roshack.diff b/rostests/winetests/shell32/roshack.diff deleted file mode 100644 index edd2b1bb41f..00000000000 --- a/rostests/winetests/shell32/roshack.diff +++ /dev/null @@ -1,27 +0,0 @@ -Index: shlexec.c -=================================================================== ---- shlexec.c (revision 38229) -+++ shlexec.c (working copy) -@@ -1577,6 +1577,8 @@ - - START_TEST(shlexec) - { -+ skip("ROS-HACK: Skipping shell execute tests\n"); -+ return; - - myARGC = winetest_get_mainargs(&myARGV); - if (myARGC >= 3) -Index: systray.c -=================================================================== ---- systray.c (revision 38229) -+++ systray.c (working copy) -@@ -138,6 +138,9 @@ - RECT rc; - HMODULE huser32, hshell32; - -+ skip("ROS-HACK: Skipping systray tests\n"); -+ return; -+ - hshell32 = GetModuleHandleA("shell32.dll"); - pShell_NotifyIconW = (void*)GetProcAddress(hshell32, "Shell_NotifyIconW"); - diff --git a/rostests/winetests/shell32/shlexec.c b/rostests/winetests/shell32/shlexec.c index e1fa21b6a8f..4b1bf1b6483 100755 --- a/rostests/winetests/shell32/shlexec.c +++ b/rostests/winetests/shell32/shlexec.c @@ -1577,8 +1577,6 @@ static void cleanup_test(void) START_TEST(shlexec) { - skip("ROS-HACK: Skipping shell execute tests\n"); - return; myARGC = winetest_get_mainargs(&myARGV); if (myARGC >= 3) diff --git a/rostests/winetests/shell32/systray.c b/rostests/winetests/shell32/systray.c index 8ec73e52dca..c672d671b59 100644 --- a/rostests/winetests/shell32/systray.c +++ b/rostests/winetests/shell32/systray.c @@ -138,9 +138,6 @@ START_TEST(systray) RECT rc; HMODULE huser32, hshell32; - skip("ROS-HACK: Skipping systray tests\n"); - return; - hshell32 = GetModuleHandleA("shell32.dll"); pShell_NotifyIconW = (void*)GetProcAddress(hshell32, "Shell_NotifyIconW");