Alexandre Julliard : urlmon/tests: Comment out a test that crashes on Win2k .

Alexandre Julliard julliard at winehq.org
Fri Feb 5 08:42:32 CST 2010


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Feb  5 11:50:36 2010 +0100

urlmon/tests: Comment out a test that crashes on Win2k.

---

 dlls/urlmon/tests/stream.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/urlmon/tests/stream.c b/dlls/urlmon/tests/stream.c
index 6b25e2d..329addb 100644
--- a/dlls/urlmon/tests/stream.c
+++ b/dlls/urlmon/tests/stream.c
@@ -299,8 +299,11 @@ static void test_URLOpenBlockingStreamW(void)
 
     hr = URLOpenBlockingStreamW(NULL, NULL, &pStream, 0, &BindStatusCallback);
     ok(hr == E_INVALIDARG, "URLOpenBlockingStreamW should have failed with E_INVALIDARG instead of 0x%08x\n", hr);
-    hr = URLOpenBlockingStreamW(NULL, INDEX_HTML, NULL, 0, &BindStatusCallback);
-    ok(hr == E_INVALIDARG, "URLOpenBlockingStreamW should have failed with E_INVALIDARG instead of 0x%08x\n", hr);
+    if (0)  /* crashes on Win2k */
+    {
+        hr = URLOpenBlockingStreamW(NULL, INDEX_HTML, NULL, 0, &BindStatusCallback);
+        ok(hr == E_INVALIDARG, "URLOpenBlockingStreamW should have failed with E_INVALIDARG instead of 0x%08x\n", hr);
+    }
 
     SET_EXPECT(GetBindInfo);
     SET_EXPECT(QueryInterface_IServiceProvider);




More information about the wine-cvs mailing list