Paul Vriens : ole32/tests: Fix a test on win98 and W2K.

Alexandre Julliard julliard at winehq.org
Mon Aug 18 10:46:35 CDT 2008


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

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Tue Aug  5 17:25:28 2008 +0200

ole32/tests: Fix a test on win98 and W2K.

---

 dlls/ole32/tests/ole2.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/ole32/tests/ole2.c b/dlls/ole32/tests/ole2.c
index 5ca6009..cc3476d 100644
--- a/dlls/ole32/tests/ole2.c
+++ b/dlls/ole32/tests/ole2.c
@@ -844,9 +844,8 @@ static void test_OleLoad(IStorage *pStorage)
     trace("OleLoad:\n");
     hr = OleLoad(pStorage, &IID_IOleObject, (IOleClientSite *)0xdeadbeef, (void **)&pObject);
     ok(hr == S_OK ||
-       broken(hr == E_INVALIDARG), /* win2k */
+       broken(hr == E_INVALIDARG), /* win98 and win2k */
        "OleLoad failed with error 0x%08x\n", hr);
-    ok_ole_success(hr, "OleLoad");
     if (pObject)
     {
         IOleObject_Release(pObject);




More information about the wine-cvs mailing list