mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
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:
parent
299f6a7826
commit
ac4083c6d7
1 changed files with 10 additions and 0 deletions
|
@ -1323,11 +1323,16 @@ static void test_enum_svc(void)
|
||||||
}
|
}
|
||||||
HeapFree(GetProcessHeap(), 0, services);
|
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
|
todo_wine
|
||||||
{
|
{
|
||||||
ok(servicecountactive == 0, "Active services mismatch %u\n", servicecountactive);
|
ok(servicecountactive == 0, "Active services mismatch %u\n", servicecountactive);
|
||||||
ok(servicecountinactive == 0, "Inactive services mismatch %u\n", servicecountinactive);
|
ok(servicecountinactive == 0, "Inactive services mismatch %u\n", servicecountinactive);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
CloseServiceHandle(scm_handle);
|
CloseServiceHandle(scm_handle);
|
||||||
|
|
||||||
|
@ -1681,8 +1686,13 @@ static void test_enum_svc(void)
|
||||||
}
|
}
|
||||||
HeapFree(GetProcessHeap(), 0, exservices);
|
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(servicecountactive == 0, "Active services mismatch %u\n", servicecountactive);
|
||||||
ok(servicecountinactive == 0, "Inactive services mismatch %u\n", servicecountinactive);
|
ok(servicecountinactive == 0, "Inactive services mismatch %u\n", servicecountinactive);
|
||||||
|
#endif
|
||||||
|
|
||||||
CloseServiceHandle(scm_handle);
|
CloseServiceHandle(scm_handle);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue