Nikolay Sivov : shell32/tests: Fix test crashes when running with wine.
Module: wine Branch: master Commit: 478d695ec8cb773f9e868dba01b9f707afe1f7e5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=478d695ec8cb773f9e868dba01... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Mon May 4 13:00:37 2015 +0300 shell32/tests: Fix test crashes when running with wine. --- dlls/shell32/tests/shelldispatch.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/shell32/tests/shelldispatch.c b/dlls/shell32/tests/shelldispatch.c index ba246f1..b7773ad 100644 --- a/dlls/shell32/tests/shelldispatch.c +++ b/dlls/shell32/tests/shelldispatch.c @@ -444,6 +444,9 @@ static void test_ShellWindows(void) hr = CoCreateInstance(&CLSID_ShellWindows, NULL, CLSCTX_LOCAL_SERVER, &IID_IShellWindows, (void**)&shellwindows); ok(hr == S_OK, "got 0x%08x\n", hr); + /* TODO: remove when explorer startup with clean prefix is fixed */ + if (hr != S_OK) + return; if (0) /* NULL out argument - currently crashes on Wine */ { hr = IShellWindows_Register(shellwindows, NULL, 0, SWC_EXPLORER, NULL);
participants (1)
-
Alexandre Julliard