Rob Shearman : ole32: Fix test failure on win2000+.

Alexandre Julliard julliard at winehq.org
Tue Dec 1 09:19:44 CST 2009


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

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Tue Dec  1 13:14:33 2009 +0000

ole32: Fix test failure on win2000+.

These OSs have different behaviour w.r.t. quotes in path names and
don't ignore the rest of the path outside of the quotes.

---

 dlls/ole32/tests/marshal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/tests/marshal.c b/dlls/ole32/tests/marshal.c
index 1ef9790..20b0d8b 100644
--- a/dlls/ole32/tests/marshal.c
+++ b/dlls/ole32/tests/marshal.c
@@ -2293,7 +2293,7 @@ static void reg_unreg_wine_test_class(BOOL Register)
     {
         error = RegCreateKeyEx(HKEY_CLASSES_ROOT, buffer, 0, NULL, 0, KEY_SET_VALUE, NULL, &hkey, &dwDisposition);
         ok(error == ERROR_SUCCESS, "RegCreateKeyEx failed with error %d\n", error);
-        error = RegSetValueEx(hkey, NULL, 0, REG_SZ, (const unsigned char *)"\"ole32.dll\" \"a\"", strlen("\"ole32.dll\" \"a\"") + 1);
+        error = RegSetValueEx(hkey, NULL, 0, REG_SZ, (const unsigned char *)"\"ole32.dll\"", strlen("\"ole32.dll\"") + 1);
         ok(error == ERROR_SUCCESS, "RegSetValueEx failed with error %d\n", error);
         RegCloseKey(hkey);
     }




More information about the wine-cvs mailing list