Huw Davies : ole32/tests: win9x and winme don' t enumerate duplicated cfFormats.
Alexandre Julliard
julliard at winehq.org
Wed Apr 22 10:18:51 CDT 2009
Module: wine
Branch: master
Commit: 1556d831c8e0f3cd42ddb7f89965912296f6e9ad
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1556d831c8e0f3cd42ddb7f89965912296f6e9ad
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Apr 22 10:47:28 2009 +0100
ole32/tests: win9x and winme don't enumerate duplicated cfFormats.
---
dlls/ole32/tests/clipboard.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/tests/clipboard.c b/dlls/ole32/tests/clipboard.c
index 207411a..4cbd88b 100644
--- a/dlls/ole32/tests/clipboard.c
+++ b/dlls/ole32/tests/clipboard.c
@@ -584,7 +584,9 @@ static void test_enum_fmtetc(IDataObject *src)
if(src)
{
hr = IEnumFORMATETC_Next(src_enum, 1, &src_fmt, NULL);
- ok(hr == S_FALSE, "%d: got %08x\n", count, hr);
+ ok(hr == S_FALSE ||
+ broken(hr == S_OK && count == 5), /* win9x and winme don't enumerate duplicated cf's */
+ "%d: got %08x\n", count, hr);
IEnumFORMATETC_Release(src_enum);
}
More information about the wine-cvs
mailing list