[1/3] msi/tests: Add a test for MsiInstallProduct with command line containing double quotes inside of the property.

Dmitry Timoshkov dmitry at baikal.ru
Tue Oct 6 05:10:29 CDT 2015


Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
 dlls/msi/tests/install.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index 5eff29f..6b86cd2 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -4716,6 +4716,13 @@ static void test_propcase(void)
     ok(delete_pf("msitest\\augustus", TRUE), "File not installed\n");
     ok(delete_pf("msitest", FALSE), "Directory not created\n");
 
+    r = MsiInstallProductA(msifile, "BLAHBLAH=\"Copyright \"\"My Company\"\" 2015\" MyProp=42");
+    ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", r);
+todo_wine
+    ok(delete_pf("msitest\\augustus", TRUE), "File not installed\n");
+todo_wine
+    ok(delete_pf("msitest", FALSE), "Directory not created\n");
+
 error:
     DeleteFileA(msifile);
     DeleteFileA("msitest\\augustus");
-- 
2.6.0




More information about the wine-patches mailing list