From f2664a3227ff7035fc3071e17956e80dc3c22d2e Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Wed, 11 Sep 2013 00:08:28 +0000 Subject: [PATCH] [ADVPACK_WINETEST] * Sync with Wine 1.7.1. svn path=/trunk/; revision=60026 --- rostests/winetests/advpack/install.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rostests/winetests/advpack/install.c b/rostests/winetests/advpack/install.c index 6303db0f75b..95f768c8f1c 100644 --- a/rostests/winetests/advpack/install.c +++ b/rostests/winetests/advpack/install.c @@ -244,6 +244,13 @@ static void test_LaunchINFSectionEx(void) hr = pLaunchINFSectionEx(NULL, NULL, cmdline, 0); 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); + ok(hr == 0, "Expected 0, got %d\n", hr); + /* The 'No UI' flag seems to have no effect whatsoever on Windows. * So only do this test in interactive mode. */