Paul Vriens : shell32/tests: Fix a test failure on Vista.

Alexandre Julliard julliard at winehq.org
Thu Jun 18 09:11:34 CDT 2009


Module: wine
Branch: master
Commit: 731980562180d14cf0964e2c4e8f40c832fc2ca2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=731980562180d14cf0964e2c4e8f40c832fc2ca2

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Thu Jun 18 10:32:41 2009 +0200

shell32/tests: Fix a test failure on Vista.

---

 dlls/shell32/tests/shlfolder.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index 58bac8f..c25c4a9 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -479,6 +479,7 @@ static void test_GetDisplayName(void)
     hr = IShellFolder_BindToObject(psfDesktop, pidlTestFile, NULL, &IID_IUnknown, (VOID**)&psfFile);
     todo_wine
     ok (hr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) ||
+        hr == E_NOTIMPL || /* Vista */
         broken(SUCCEEDED(hr)), /* Win9x, W2K */
         "hr = %08x\n", hr);
     if (SUCCEEDED(hr)) {




More information about the wine-cvs mailing list