Fix registry tests on Win95.

This commit is contained in:
Felix Nawothnig 2005-07-18 09:08:24 +00:00 committed by Alexandre Julliard
parent 802b17c8f5
commit 305ce2f641
1 changed files with 4 additions and 2 deletions

View File

@ -516,8 +516,10 @@ static void test_reg_delete_key(void)
DWORD ret; DWORD ret;
ret = RegDeleteKey(hkey_main, NULL); ret = RegDeleteKey(hkey_main, NULL);
ok(ret == ERROR_INVALID_PARAMETER || ret == ERROR_ACCESS_DENIED, ok(ret == ERROR_INVALID_PARAMETER ||
"expected ERROR_INVALID_PARAMETER or ERROR_ACCESS_DENIED, got %ld\n", ret); ret == ERROR_ACCESS_DENIED ||
ret == ERROR_BADKEY, /* Win95 */
"ret=%ld\n", ret);
} }
static void test_reg_save_key(void) static void test_reg_save_key(void)