Disable some misleading service tests because a test cannot determine wheter or not the number of active or inactive services is correct.

svn path=/trunk/; revision=51164
This commit is contained in:
Eric Kohl 2011-03-26 20:07:09 +00:00
parent 299f6a7826
commit ac4083c6d7

View file

@ -1323,11 +1323,16 @@ static void test_enum_svc(void)
}
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 @@ static void test_enum_svc(void)
}
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);
}