Fix NT4 comctl32 mru test

Jakob Eriksson jakov at vmlinux.org
Mon Jan 3 08:19:34 CST 2005


We may not have permission to create a key there.


http://test.winehq.org/data/200412281000/nt4_IvanLeo/comctl32:mru.txt
-------------- next part --------------
Index: dlls/comctl32/tests/mru.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/tests/mru.c,v
retrieving revision 1.1
diff -u -r1.1 mru.c
--- dlls/comctl32/tests/mru.c	10 Dec 2004 15:31:38 -0000	1.1
+++ dlls/comctl32/tests/mru.c	3 Jan 2005 14:18:15 -0000
@@ -77,8 +77,7 @@
 {
     HKEY hKey = NULL;
 
-    ok(!RegCreateKeyA(HKEY_CURRENT_USER, REG_TEST_FULLKEY, &hKey),
-       "Couldn't create test key \"%s\"\n", REG_TEST_KEYA);
+    RegCreateKeyA(HKEY_CURRENT_USER, REG_TEST_FULLKEY, &hKey);
     if (!hKey) return FALSE;
     RegCloseKey(hKey);
     return TRUE;


More information about the wine-patches mailing list