Commit a148e555 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

schtasks: Make /change argument case insensitive.

parent 9519216f
......@@ -130,7 +130,7 @@ int wmain(int argc, WCHAR *argv[])
if (argc < 2)
FIXME("Print current tasks state\n");
else if (!strcmpW(argv[1], change_optW))
else if (!strcmpiW(argv[1], change_optW))
ret = change_command(argc - 2, argv + 2);
else
FIXME("Unsupported command %s\n", debugstr_w(argv[1]));
......
......@@ -175,12 +175,12 @@ START_TEST(schtasks)
register_task("wine\\test\\winetest");
r = run_command("schtasks /change /tn wine\\test\\winetest /enable");
r = run_command("schtasks /CHANGE /tn wine\\test\\winetest /enable");
ok(r == 0, "r = %u\n", r);
unregister_task("wine\\test\\winetest");
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);
ITaskFolder_Release(root);
......
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