Commit 17f66097 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

advpack/tests: Add test for LaunchINFSectionEx with quoted filename.

parent 3fea3a5b
...@@ -237,6 +237,13 @@ static void test_LaunchINFSectionEx(void) ...@@ -237,6 +237,13 @@ static void test_LaunchINFSectionEx(void)
hr = pLaunchINFSectionEx(NULL, NULL, cmdline, 0); hr = pLaunchINFSectionEx(NULL, NULL, cmdline, 0);
ok(hr == 0, "Expected 0, got %d\n", hr); ok(hr == 0, "Expected 0, got %d\n", hr);
/* try quoting the parameters */
lstrcpy(cmdline, "\"");
lstrcat(cmdline, CURR_DIR);
lstrcat(cmdline, "\\test.inf\",\"DefaultInstall\",\"c:,imacab.cab\",\"4\"");
hr = pLaunchINFSectionEx(NULL, NULL, cmdline, 0);
todo_wine ok(hr == 0, "Expected 0, got %d\n", hr);
/* The 'No UI' flag seems to have no effect whatsoever on Windows. /* The 'No UI' flag seems to have no effect whatsoever on Windows.
* So only do this test in interactive mode. * So only do this test in interactive mode.
*/ */
......
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