ADVAPI32: Fix registry tests on Win95
Felix Nawothnig
felix.nawothnig at t-online.de
Sat Jul 16 05:14:20 CDT 2005
ChangeLog:
Fix registry tests on Win95
-------------- next part --------------
Index: dlls/advapi32/tests/registry.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/tests/registry.c,v
retrieving revision 1.29
diff -u -r1.29 registry.c
--- dlls/advapi32/tests/registry.c 6 Jul 2005 19:08:05 -0000 1.29
+++ dlls/advapi32/tests/registry.c 16 Jul 2005 10:07:31 -0000
@@ -516,8 +516,10 @@
DWORD ret;
ret = RegDeleteKey(hkey_main, NULL);
- ok(ret == ERROR_INVALID_PARAMETER || ret == ERROR_ACCESS_DENIED,
- "expected ERROR_INVALID_PARAMETER or ERROR_ACCESS_DENIED, got %ld\n", ret);
+ ok(ret == ERROR_INVALID_PARAMETER ||
+ ret == ERROR_ACCESS_DENIED ||
+ ret == ERROR_BADKEY, /* Win95 */
+ "ret=%ld\n", ret);
}
static void test_reg_save_key(void)
More information about the wine-patches
mailing list