Detlef Riekenberg : mstask/tests: Skip some tests when the service is not running.
Alexandre Julliard
julliard at winehq.org
Tue Dec 22 09:59:02 CST 2009
Module: wine
Branch: master
Commit: dc2868084758a72877c5befc420c7ffd7c52cd84
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dc2868084758a72877c5befc420c7ffd7c52cd84
Author: Detlef Riekenberg <wine.dev at web.de>
Date: Tue Dec 22 14:01:22 2009 +0100
mstask/tests: Skip some tests when the service is not running.
---
dlls/mstask/tests/task.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mstask/tests/task.c b/dlls/mstask/tests/task.c
index b9dee35..82df6dd 100644
--- a/dlls/mstask/tests/task.c
+++ b/dlls/mstask/tests/task.c
@@ -427,7 +427,7 @@ static void test_SetAccountInformation_GetAccountInformation(void)
/* WinXP returns HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND): 0x80070002 but
* Win2K returns SCHED_E_CANNOT_OPEN_TASK: 0x8004130d
* 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");
cleanup_task();
More information about the wine-cvs
mailing list