mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[MSTASK_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74820
This commit is contained in:
parent
4988f293f8
commit
7a5517640f
1 changed files with 6 additions and 0 deletions
|
@ -184,6 +184,11 @@ static void test_SetTargetComputer(void)
|
|||
|
||||
/* the two backslashes are optional */
|
||||
hres = ITaskScheduler_SetTargetComputer(test_task_scheduler, oldname + 2);
|
||||
if (hres == E_ACCESSDENIED)
|
||||
{
|
||||
skip("SetTargetComputer failed with E_ACCESSDENIED (needs admin rights)\n");
|
||||
goto done;
|
||||
}
|
||||
ok(hres == S_OK, "got 0x%x (expected S_OK)\n", hres);
|
||||
|
||||
/* the case is ignored */
|
||||
|
@ -198,6 +203,7 @@ static void test_SetTargetComputer(void)
|
|||
hres = ITaskScheduler_SetTargetComputer(test_task_scheduler, oldname);
|
||||
ok(hres == S_OK, "got 0x%x (expected S_OK)\n", hres);
|
||||
|
||||
done:
|
||||
CoTaskMemFree(oldname);
|
||||
ITaskScheduler_Release(test_task_scheduler);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue