Module: wine Branch: master Commit: e71e3efe77736d74dfc633dec4630001dee2397e URL: http://source.winehq.org/git/wine.git/?a=commit;h=e71e3efe77736d74dfc633dec4...
Author: James Hawkins jhawkins@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);