James Hawkins : ole32: Fix a test failure in win9x.

Alexandre Julliard julliard at winehq.org
Mon Jun 30 08:27:00 CDT 2008


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

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Sun Jun 29 18:16:38 2008 -0500

ole32: Fix a test failure in win9x.

---

 dlls/ole32/tests/clipboard.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/tests/clipboard.c b/dlls/ole32/tests/clipboard.c
index e365ee8..26278b6 100644
--- a/dlls/ole32/tests/clipboard.c
+++ b/dlls/ole32/tests/clipboard.c
@@ -436,7 +436,10 @@ static void test_set_clipboard(void)
     CoInitialize(NULL);
     hr = OleSetClipboard(data1);
     todo_wine
-    ok(hr == CO_E_NOTINITIALIZED, "OleSetClipboard should have failed with CO_E_NOTINITIALIZED instead of 0x%08x\n", hr);
+    ok(hr == CO_E_NOTINITIALIZED ||
+       hr == CLIPBRD_E_CANT_SET, /* win9x */
+       "OleSetClipboard should have failed with "
+       "CO_E_NOTINITIALIZED or CLIPBRD_E_CANT_SET instead of 0x%08x\n", hr);
     CoUninitialize();
 
     hr = OleInitialize(NULL);




More information about the wine-cvs mailing list