Juan Lang : shell32: Fix a couple test failures on NT4.

Alexandre Julliard julliard at winehq.org
Wed Feb 4 09:15:33 CST 2009


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Tue Feb  3 09:01:59 2009 -0800

shell32: Fix a couple test failures on NT4.

---

 dlls/shell32/tests/shellpath.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c
index 7c7cc52..0c7bafd 100644
--- a/dlls/shell32/tests/shellpath.c
+++ b/dlls/shell32/tests/shellpath.c
@@ -419,7 +419,9 @@ static BYTE testSHGetSpecialFolderLocation(BOOL optional, int folder)
 
     pidl = NULL;
     hr = pSHGetSpecialFolderLocation(NULL, folder, &pidl);
-    ok(SUCCEEDED(hr) || optional,
+    ok(SUCCEEDED(hr) || optional ||
+     broken((folder == CSIDL_COOKIES || folder == CSIDL_INTERNET) &&
+     hr == E_INVALIDARG) /* NT4 */,
      "SHGetSpecialFolderLocation(NULL, %s, &pidl) failed: 0x%08x\n", getFolderName(folder), hr);
     if (SUCCEEDED(hr))
     {




More information about the wine-cvs mailing list