Commit 8e5a86c3 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

schtasks/tests: Clean up the tasks directory.

parent 3f06a096
...@@ -152,6 +152,8 @@ static BOOL initialize_task_service(void) ...@@ -152,6 +152,8 @@ static BOOL initialize_task_service(void)
START_TEST(schtasks) 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; DWORD r;
CoInitialize(NULL); CoInitialize(NULL);
...@@ -183,6 +185,8 @@ START_TEST(schtasks) ...@@ -183,6 +185,8 @@ START_TEST(schtasks)
r = run_command("schtasks /Change /tn wine\\test\\winetest /enable"); r = run_command("schtasks /Change /tn wine\\test\\winetest /enable");
ok(r == 1, "r = %u\n", r); ok(r == 1, "r = %u\n", r);
ITaskFolder_DeleteFolder(root, wine_testW, 0);
ITaskFolder_DeleteFolder(root, wineW, 0);
ITaskFolder_Release(root); ITaskFolder_Release(root);
ITaskService_Release(service); ITaskService_Release(service);
CoUninitialize(); CoUninitialize();
......
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