[PATCH] advapi32/tests: Fix classesroot test on win9x
Austin Lund
austin.lund at gmail.com
Tue Oct 5 00:51:52 CDT 2010
---
dlls/advapi32/tests/registry.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/advapi32/tests/registry.c b/dlls/advapi32/tests/registry.c
index 8322d89..34d696f 100644
--- a/dlls/advapi32/tests/registry.c
+++ b/dlls/advapi32/tests/registry.c
@@ -1942,7 +1942,7 @@ static void test_classesroot(void)
todo_wine
{
ok(res == ERROR_SUCCESS ||
- broken(res == ERROR_BADKEY /* Win9x */) ||
+ broken(res == ERROR_BADKEY || res == ERROR_DLL_INIT_FAILED /* Win9x */) ||
broken(res == ERROR_INVALID_HANDLE /* NT+ */),
"RegQueryValueExA failed: %d, GLE=%x\n", res, GetLastError());
ok(!strcmp( buffer, "user" ) || broken(!strcmp( buffer, "" ) /* Win9x */),
@@ -1952,7 +1952,7 @@ static void test_classesroot(void)
/* modify the value in hkcr */
res = RegSetValueExA(hkcr, "val1", 0, REG_SZ, (const BYTE *)"hkcr", sizeof("hkcr"));
todo_wine ok(res == ERROR_SUCCESS ||
- broken(res == ERROR_BADKEY /* Win9x */) ||
+ broken(res == ERROR_BADKEY || res == ERROR_DLL_INIT_FAILED /* Win9x */) ||
broken(res == ERROR_INVALID_HANDLE /* NT+ */),
"RegSetValueExA failed: %d, GLE=%x\n", res, GetLastError());
--
1.7.0.4
More information about the wine-patches
mailing list