advapi32/tests: Remove duplicate test.
This commit is contained in:
parent
978b0b4784
commit
10217fae29
|
@ -1234,18 +1234,6 @@ static void test_enum_svc(void)
|
||||||
needed, &needed, &returned, NULL);
|
needed, &needed, &returned, NULL);
|
||||||
HeapFree(GetProcessHeap(), 0, services);
|
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 */
|
/* Check if total is the same as active and inactive win32 services */
|
||||||
todo_wine
|
todo_wine
|
||||||
ok(returned == (servicecountactive + servicecountinactive),
|
ok(returned == (servicecountactive + servicecountinactive),
|
||||||
|
|
Loading…
Reference in New Issue