James Hawkins : mshtml: Fix a test failure in win2k.
Alexandre Julliard
julliard at winehq.org
Tue Jul 1 08:27:47 CDT 2008
Module: wine
Branch: master
Commit: d5158cc35de5d7d27f45818ce7b98ed07d5ba7b6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d5158cc35de5d7d27f45818ce7b98ed07d5ba7b6
Author: James Hawkins <jhawkins at codeweavers.com>
Date: Tue Jul 1 00:01:06 2008 -0500
mshtml: Fix a test failure in win2k.
---
dlls/mshtml/tests/protocol.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/tests/protocol.c b/dlls/mshtml/tests/protocol.c
index 9c09037..4e8b3d0 100644
--- a/dlls/mshtml/tests/protocol.c
+++ b/dlls/mshtml/tests/protocol.c
@@ -724,8 +724,9 @@ static void test_about_protocol(void)
hres = IInternetProtocolInfo_QueryInfo(protocol_info, about_blank_url, QUERY_CAN_NAVIGATE, 0,
buf, sizeof(buf), &size, 0);
- ok(hres == INET_E_USE_DEFAULT_PROTOCOLHANDLER,
- "QueryInfo returned: %08x, expected INET_E_USE_DEFAULT_PROTOCOLHANDLER\n", hres);
+ ok(hres == INET_E_USE_DEFAULT_PROTOCOLHANDLER ||
+ hres == E_FAIL, /* win2k */
+ "QueryInfo returned: %08x, expected INET_E_USE_DEFAULT_PROTOCOLHANDLER or E_FAIL\n", hres);
size = 0xdeadbeef;
memset(buf, '?', sizeof(buf));
More information about the wine-cvs
mailing list