[PATCH 3/3] Skip some tests on Win9x/WinMe

Paul Vriens Paul.Vriens.Wine at gmail.com
Fri Oct 2 02:56:09 CDT 2009


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

diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index ab305bf..0044e03 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -6767,6 +6767,12 @@ static void test_file_in_use(void)
     HKEY hkey;
     char path[MAX_PATH];
 
+    if (on_win9x)
+    {
+        win_skip("Pending file renaming is implemented differently on Win9x and WinMe\n");
+        return;
+    }
+
     RegOpenKeyExA(HKEY_LOCAL_MACHINE, session_manager, 0, KEY_ALL_ACCESS, &hkey);
     if (!RegQueryValueExA(hkey, rename_ops, NULL, NULL, NULL, &size))
     {
@@ -6814,6 +6820,12 @@ static void test_file_in_use_cab(void)
     HKEY hkey;
     char path[MAX_PATH];
 
+    if (on_win9x)
+    {
+        win_skip("Pending file renaming is implemented differently on Win9x and WinMe\n");
+        return;
+    }
+
     RegOpenKeyExA(HKEY_LOCAL_MACHINE, session_manager, 0, KEY_ALL_ACCESS, &hkey);
     if (!RegQueryValueExA(hkey, rename_ops, NULL, NULL, NULL, &size))
     {
-- 
1.6.2.5


--------------050007000208020407010802--



More information about the wine-patches mailing list