Paul Vriens : shell32/tests: Fix a test failure on Win95 and NT4.
Alexandre Julliard
julliard at winehq.org
Thu Apr 23 11:27:26 CDT 2009
Module: wine
Branch: master
Commit: 0a42190c8e2754e9a6224898796f3d374398ee2b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0a42190c8e2754e9a6224898796f3d374398ee2b
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Thu Apr 23 16:21:46 2009 +0200
shell32/tests: Fix a test failure on Win95 and NT4.
---
dlls/shell32/tests/shlfolder.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index 72c4034..6a32ccf 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -609,7 +609,8 @@ static void test_CallForAttributes(void)
hr = IShellFolder_ParseDisplayName(psfDesktop, NULL, NULL, wszMyDocuments, NULL,
&pidlMyDocuments, NULL);
- ok (SUCCEEDED(hr),
+ ok (SUCCEEDED(hr) ||
+ broken(hr == E_INVALIDARG), /* Win95, NT4 */
"Desktop's ParseDisplayName failed to parse MyDocuments's CLSID! hr = %08x\n", hr);
if (FAILED(hr)) {
IShellFolder_Release(psfDesktop);
More information about the wine-cvs
mailing list