advapi32/tests: Remove duplicate test.

This commit is contained in:
Paul Vriens 2008-08-24 17:50:28 +02:00 committed by Alexandre Julliard
parent 978b0b4784
commit 10217fae29
1 changed files with 0 additions and 12 deletions

View File

@ -1234,18 +1234,6 @@ static void test_enum_svc(void)
needed, &needed, &returned, NULL);
HeapFree(GetProcessHeap(), 0, services);
/* Check if total is the same as active and inactive win32 services */
todo_wine
ok(returned == (servicecountactive + servicecountinactive),
"Something wrong in the calculation\n");
/* Get the number of all services */
EnumServicesStatusA(scm_handle, SERVICE_DRIVER | SERVICE_WIN32, SERVICE_STATE_ALL,
NULL, 0, &needed, &returned, NULL);
services = HeapAlloc(GetProcessHeap(), 0, needed);
EnumServicesStatusA(scm_handle, SERVICE_DRIVER | SERVICE_WIN32, SERVICE_STATE_ALL,
services, needed, &needed, &returned, NULL);
/* Check if total is the same as active and inactive win32 services */
todo_wine
ok(returned == (servicecountactive + servicecountinactive),