Dmitry Timoshkov : msi/tests: Add a test for MsiInstallProduct with command line containing double quotes inside of the property.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 6 09:44:00 CDT 2015


Module: wine
Branch: master
Commit: 1b3087e79f70c48f3e697d9ba16fa936bace0e55
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1b3087e79f70c48f3e697d9ba16fa936bace0e55

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Tue Oct  6 18:10:29 2015 +0800

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

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");




More information about the wine-cvs mailing list