Author: akhaldi
Date: Wed Sep 11 00:08:28 2013
New Revision: 60026
URL:
http://svn.reactos.org/svn/reactos?rev=60026&view=rev
Log:
[ADVPACK_WINETEST]
* Sync with Wine 1.7.1.
Modified:
trunk/rostests/winetests/advpack/install.c
Modified: trunk/rostests/winetests/advpack/install.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/advpack/install…
==============================================================================
--- trunk/rostests/winetests/advpack/install.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/advpack/install.c [iso-8859-1] Wed Sep 11 00:08:28 2013
@@ -241,6 +241,13 @@
lstrcpy(cmdline, CURR_DIR);
lstrcat(cmdline, "\\");
lstrcat(cmdline, "test.inf,DefaultInstall,c:imacab.cab,4");
+ 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);