Paul Vriens : msi/tests: Skip tests on win9x due to different registry keys .
Alexandre Julliard
julliard at winehq.org
Thu Dec 11 07:50:39 CST 2008
Module: wine
Branch: master
Commit: 194c0530211cd581a798a45633904d49a3eb0221
URL: http://source.winehq.org/git/wine.git/?a=commit;h=194c0530211cd581a798a45633904d49a3eb0221
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Wed Dec 10 17:02:12 2008 +0100
msi/tests: Skip tests on win9x due to different registry keys.
---
dlls/msi/tests/package.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c
index 6645c06..e3565ef 100644
--- a/dlls/msi/tests/package.c
+++ b/dlls/msi/tests/package.c
@@ -9523,6 +9523,15 @@ static void test_MsiGetProductProperty(void)
DWORD size;
LONG res;
UINT r;
+ SC_HANDLE scm;
+
+ scm = OpenSCManager(NULL, NULL, SC_MANAGER_CONNECT);
+ if (!scm && (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED))
+ {
+ win_skip("Different registry keys on Win9x and WinMe\n");
+ return;
+ }
+ CloseServiceHandle(scm);
GetCurrentDirectoryA(MAX_PATH, path);
lstrcatA(path, "\\");
More information about the wine-cvs
mailing list