forked from Mirrors/wine-wine
mstask/tests: Add some error codes for Win2k.
parent
88cdfb9d92
commit
f5c35b14f6
|
@ -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)
|
||||||
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)
|
||||||
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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue