Huw Davies : ole32/tests: OleGetClipboard doesn' t return the same object under win9x, winme and nt4.
Alexandre Julliard
julliard at winehq.org
Wed Apr 22 10:18:51 CDT 2009
Module: wine
Branch: master
Commit: 57d555c7969f95ec73bd0e84d55d3fa98908c208
URL: http://source.winehq.org/git/wine.git/?a=commit;h=57d555c7969f95ec73bd0e84d55d3fa98908c208
Author: Huw Davies <huw at codeweavers.com>
Date: Tue Apr 21 16:47:28 2009 +0100
ole32/tests: OleGetClipboard doesn't return the same object under win9x, winme and nt4.
---
dlls/ole32/tests/clipboard.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/ole32/tests/clipboard.c b/dlls/ole32/tests/clipboard.c
index 17a30a7..a377801 100644
--- a/dlls/ole32/tests/clipboard.c
+++ b/dlls/ole32/tests/clipboard.c
@@ -914,9 +914,11 @@ static void test_consumer_refs(void)
hr = OleGetClipboard(&get2);
ok(hr == S_OK, "got %08x\n", hr);
- ok(get1 == get2, "data objects differ\n");
+ ok(get1 == get2 ||
+ broken(get1 != get2), /* win9x, winme & nt4 */
+ "data objects differ\n");
refs = IDataObject_Release(get2);
- ok(refs == 1, "got %d\n", refs);
+ ok(refs == (get1 == get2 ? 1 : 0), "got %d\n", refs);
OleFlushClipboard();
More information about the wine-cvs
mailing list