schtasks/tests: Clean up the tasks directory.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2018-01-09 10:28:03 -06:00 committed by Alexandre Julliard
parent 3f06a09604
commit 8e5a86c303
1 changed files with 4 additions and 0 deletions

View File

@ -152,6 +152,8 @@ static BOOL initialize_task_service(void)
START_TEST(schtasks)
{
static WCHAR wineW[] = {'\\','w','i','n','e',0};
static WCHAR wine_testW[] = {'\\','w','i','n','e','\\','t','e','s','t',0};
DWORD r;
CoInitialize(NULL);
@ -183,6 +185,8 @@ START_TEST(schtasks)
r = run_command("schtasks /Change /tn wine\\test\\winetest /enable");
ok(r == 1, "r = %u\n", r);
ITaskFolder_DeleteFolder(root, wine_testW, 0);
ITaskFolder_DeleteFolder(root, wineW, 0);
ITaskFolder_Release(root);
ITaskService_Release(service);
CoUninitialize();