Commit c5053f57 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

shell32/tests: Win XP splits the args if there are spaces in the path.

This isn't seen on winetest runs, but is when jobs are submitted to the testbot. Presumably the path of the executable is different in the two cases.
parent bc01af8f
......@@ -1219,7 +1219,7 @@ static void test_commandline2argv(void)
*strW = 0;
args = CommandLineToArgvW(strW, &numargs);
ok(numargs == 1, "expected 1 args, got %d\n", numargs);
ok(numargs == 1 || broken(numargs > 1), "expected 1 args, got %d\n", numargs);
ok(!args || (!args[numargs] || broken(args[numargs] != NULL) /* before Vista */),
"expected NULL-terminated list of commandline arguments\n");
if (numargs == 1)
......
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