[ros-diffs] [ekohl] 51164: Disable some misleading service tests because a test cannot determine wheter or not the number of active or inactive services is correct.

ekohl at svn.reactos.org ekohl at svn.reactos.org
Sat Mar 26 20:07:10 UTC 2011


Author: ekohl
Date: Sat Mar 26 20:07:09 2011
New Revision: 51164

URL: http://svn.reactos.org/svn/reactos?rev=51164&view=rev
Log:
Disable some misleading service tests because a test cannot determine wheter or not the number of active or inactive services is correct.

Modified:
    trunk/rostests/winetests/advapi32/service.c

Modified: trunk/rostests/winetests/advapi32/service.c
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/advapi32/service.c?rev=51164&r1=51163&r2=51164&view=diff
==============================================================================
--- trunk/rostests/winetests/advapi32/service.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/advapi32/service.c [iso-8859-1] Sat Mar 26 20:07:09 2011
@@ -1323,11 +1323,16 @@
     }
     HeapFree(GetProcessHeap(), 0, services);
 
+#if 0
+    /* These tests don't make sense on a real system because no test can determine
+     * how many service should be active or inactive.
+     */
     todo_wine
     {
     ok(servicecountactive == 0, "Active services mismatch %u\n", servicecountactive);
     ok(servicecountinactive == 0, "Inactive services mismatch %u\n", servicecountinactive);
     }
+#endif
 
     CloseServiceHandle(scm_handle);
 
@@ -1681,8 +1686,13 @@
     }
     HeapFree(GetProcessHeap(), 0, exservices);
 
+#if 0
+    /* These tests don't make sense on a real system because no test can determine
+     * how many service should be active or inactive.
+     */
     ok(servicecountactive == 0, "Active services mismatch %u\n", servicecountactive);
     ok(servicecountinactive == 0, "Inactive services mismatch %u\n", servicecountinactive);
+#endif
 
     CloseServiceHandle(scm_handle);
 }




More information about the Ros-diffs mailing list