shell32/tests: Skip FolderShortcut test on Win2k.
Nicolas Le Cam
niko.lecam at gmail.com
Wed Apr 8 17:01:12 CDT 2009
---
dlls/shell32/tests/shlfolder.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index a45a386..5c30a7b 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -1196,7 +1196,13 @@ static void test_FolderShortcut(void) {
win_skip("SHGetSpecialFolderPathW and/or StrRetToBufW are not available\n");
return;
}
-
+
+ if (!pSHGetFolderPathAndSubDirA)
+ {
+ win_skip("FolderShortcut test doesn't work on Win2k\n");
+ return;
+ }
+
/* These tests basically show, that CLSID_FolderShortcuts are initialized
* via their IPersistPropertyBag interface. And that the target folder
* is taken from the IPropertyBag's 'Target' property.
@@ -1216,7 +1222,7 @@ static void test_FolderShortcut(void) {
IPersistPropertyBag_Release(pPersistPropertyBag);
return;
}
-
+
hr = IPersistPropertyBag_QueryInterface(pPersistPropertyBag, &IID_IShellFolder,
(LPVOID*)&pShellFolder);
IPersistPropertyBag_Release(pPersistPropertyBag);
--
1.5.6.3
--=-M8IlKedzpz3ID4RspUAB--
More information about the wine-patches
mailing list