Paul Vriens : wininet/tests: Fix some test failures with IE8 on W2K3.

Alexandre Julliard julliard at winehq.org
Wed May 13 10:19:43 CDT 2009


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

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Wed May 13 08:05:16 2009 +0200

wininet/tests: Fix some test failures with IE8 on W2K3.

---

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

diff --git a/dlls/wininet/tests/internet.c b/dlls/wininet/tests/internet.c
index 176f3d8..5f36c3d 100644
--- a/dlls/wininet/tests/internet.c
+++ b/dlls/wininet/tests/internet.c
@@ -742,8 +742,9 @@ static void test_IsDomainLegalCookieDomainW(void)
     error = GetLastError();
     ok(!ret, "IsDomainLegalCookieDomainW succeeded\n");
     ok(error == ERROR_SXS_KEY_NOT_FOUND ||
+        error == ERROR_SUCCESS || /* IE8 on W2K3 */
         error == 0xdeadbeef, /* up to IE7 */
-        "got %u expected ERROR_SXS_KEY_NOT_FOUND or 0xdeadbeef\n", error);
+        "unexpected error: %u\n", error);
 
     ret = pIsDomainLegalCookieDomainW(gmail_com, gmail_com);
     ok(ret, "IsDomainLegalCookieDomainW failed\n");
@@ -754,9 +755,9 @@ static void test_IsDomainLegalCookieDomainW(void)
     ok(!ret, "IsDomainLegalCookieDomainW succeeded\n");
     ok(error == ERROR_SXS_KEY_NOT_FOUND || /* IE8 on XP */
         error == ERROR_FILE_NOT_FOUND ||   /* IE8 on Vista */
+        error == ERROR_SUCCESS || /* IE8 on W2K3 */
         error == 0xdeadbeef, /* up to IE7 */
-        "got %u expected ERROR_SXS_KEY_NOT_FOUND, ERROR_FILE_NOT_FOUND or "
-        "0xdeadbeef\n", error);
+        "unexpected error: %u\n", error);
 
     ret = pIsDomainLegalCookieDomainW(uk, co_uk);
     ok(!ret, "IsDomainLegalCookieDomainW succeeded\n");




More information about the wine-cvs mailing list