Module: wine Branch: master Commit: c1a15b75aa7ee783e1ae3a6c817710004ae0c145 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c1a15b75aa7ee783e1ae3a6c81...
Author: Jacek Caban jacek@codeweavers.com Date: Tue Feb 12 17:21:16 2013 +0100
urlmon: Skip reported_url tests when binding to object.
This limits the scope of http://source.winehq.org/git/wine.git/commitdiff/259cd7933612abdef0f88f44658... to fix random test failures. This makes the original test questionable, so if we ever see it failing again, we should simply revert it.
---
dlls/urlmon/tests/url.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/urlmon/tests/url.c b/dlls/urlmon/tests/url.c index a7d0603..d00ebfe 100644 --- a/dlls/urlmon/tests/url.c +++ b/dlls/urlmon/tests/url.c @@ -933,7 +933,9 @@ static HRESULT WINAPI Protocol_Continue(IInternetProtocol *iface, CHECK_EXPECT(Continue);
ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); - ok(reported_url && !lstrcmpW(reported_url, current_url), "wrong url %s\n", wine_dbgstr_w(reported_url)); + + if(!bind_to_object) + ok(reported_url && !lstrcmpW(reported_url, current_url), "wrong url %s\n", wine_dbgstr_w(reported_url));
ok(pProtocolData != NULL, "pProtocolData == NULL\n"); if(!pProtocolData)