Commit f5c35b14 authored by Alexandre Julliard's avatar Alexandre Julliard

mstask/tests: Add some error codes for Win2k.

parent 88cdfb9d
...@@ -445,7 +445,8 @@ static void test_SetAccountInformation_GetAccountInformation(void) ...@@ -445,7 +445,8 @@ static void test_SetAccountInformation_GetAccountInformation(void)
hres = ITask_GetAccountInformation(test_task, &account_name); hres = ITask_GetAccountInformation(test_task, &account_name);
ok(hres == S_OK || ok(hres == S_OK ||
broken(hres == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) || broken(hres == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) ||
hres == SCHED_E_CANNOT_OPEN_TASK), hres == SCHED_E_CANNOT_OPEN_TASK ||
hres == 0x200), /* win2k */
"GetAccountInformation failed: %08x\n", hres); "GetAccountInformation failed: %08x\n", hres);
if (hres == S_OK) if (hres == S_OK)
{ {
...@@ -464,7 +465,8 @@ static void test_SetAccountInformation_GetAccountInformation(void) ...@@ -464,7 +465,8 @@ static void test_SetAccountInformation_GetAccountInformation(void)
hres = ITask_GetAccountInformation(test_task, &account_name); hres = ITask_GetAccountInformation(test_task, &account_name);
ok(hres == S_OK || ok(hres == S_OK ||
broken(hres == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) || broken(hres == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) ||
hres == SCHED_E_CANNOT_OPEN_TASK), hres == SCHED_E_CANNOT_OPEN_TASK ||
hres == 0x200), /* win2k */
"GetAccountInformation failed: %08x\n", hres); "GetAccountInformation failed: %08x\n", hres);
if (hres == S_OK) if (hres == S_OK)
{ {
...@@ -480,7 +482,8 @@ static void test_SetAccountInformation_GetAccountInformation(void) ...@@ -480,7 +482,8 @@ static void test_SetAccountInformation_GetAccountInformation(void)
hres = ITask_GetAccountInformation(test_task, &account_name); hres = ITask_GetAccountInformation(test_task, &account_name);
ok(hres == S_OK || ok(hres == S_OK ||
broken(hres == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) || broken(hres == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) ||
hres == SCHED_E_CANNOT_OPEN_TASK), hres == SCHED_E_CANNOT_OPEN_TASK ||
hres == 0x200), /* win2k */
"GetAccountInformation failed: %08x\n", hres); "GetAccountInformation failed: %08x\n", hres);
if (hres == S_OK) if (hres == S_OK)
{ {
......
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