[PATCH 2/2] Fix a test failure on Win9x/WinMe

Paul Vriens Paul.Vriens.Wine at gmail.com
Fri Feb 12 05:09:41 CST 2010


---
 dlls/msi/tests/install.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index 96b5117..6730bbf 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -7951,7 +7951,9 @@ static void test_register_font(void)
     todo_wine ok(!delete_pf("msitest", FALSE), "directory not removed\n");
 
     ret = RegQueryValueExA(key, "msi test font", NULL, NULL, NULL, NULL);
-    ok(ret == ERROR_FILE_NOT_FOUND, "unexpected result %d\n", ret);
+    ok(ret == ERROR_FILE_NOT_FOUND ||
+       ret == ERROR_BADKEY, /* Win9x and WinMe */
+       "unexpected result %d\n", ret);
 
     RegDeleteValueA(key, "msi test font");
     RegCloseKey(key);
-- 
1.6.2.5


--------------040906000202010800040108--



More information about the wine-patches mailing list