Commit dc286808 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

mstask/tests: Skip some tests when the service is not running.

parent 2d85d5c2
...@@ -427,7 +427,7 @@ static void test_SetAccountInformation_GetAccountInformation(void) ...@@ -427,7 +427,7 @@ static void test_SetAccountInformation_GetAccountInformation(void)
/* WinXP returns HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND): 0x80070002 but /* WinXP returns HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND): 0x80070002 but
* Win2K returns SCHED_E_CANNOT_OPEN_TASK: 0x8004130d * Win2K returns SCHED_E_CANNOT_OPEN_TASK: 0x8004130d
* Win9x doesn't support security services */ * Win9x doesn't support security services */
if (hres == SCHED_E_NO_SECURITY_SERVICES) if (hres == SCHED_E_NO_SECURITY_SERVICES || hres == SCHED_E_SERVICE_NOT_RUNNING)
{ {
win_skip("Security services are not supported\n"); win_skip("Security services are not supported\n");
cleanup_task(); cleanup_task();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment