Hans Leidekker : wininet: Make a test pass on IE6.

Alexandre Julliard julliard at winehq.org
Mon May 12 07:12:30 CDT 2008


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

Author: Hans Leidekker <hans at it.vu.nl>
Date:   Fri May  9 15:11:49 2008 +0200

wininet: Make a test pass on IE6.

---

 dlls/wininet/tests/http.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c
index 58907ba..0a02dfe 100644
--- a/dlls/wininet/tests/http.c
+++ b/dlls/wininet/tests/http.c
@@ -1792,7 +1792,9 @@ static void test_bogus_accept_types_array(void)
     size = sizeof(buffer);
     ret = HttpQueryInfo(req, HTTP_QUERY_ACCEPT | HTTP_QUERY_FLAG_REQUEST_HEADERS, buffer, &size, NULL);
     ok(ret, "HttpQueryInfo failed: %u\n", GetLastError());
-    ok(!strcmp(buffer, "*/*, %p, */*"), "got '%s' expected '*/*, %%p, */*'\n", buffer);
+    ok(!strcmp(buffer, ", */*, %p, , */*") || /* IE6 */
+       !strcmp(buffer, "*/*, %p, */*"),
+       "got '%s' expected '*/*, %%p, */*' or ', */*, %%p, , */*'\n", buffer);
 
     InternetCloseHandle(req);
     InternetCloseHandle(con);




More information about the wine-cvs mailing list