Jacek Caban : urlmon: Skip https tests on IE6.

Alexandre Julliard julliard at winehq.org
Mon Feb 18 13:27:06 CST 2013


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Feb 18 15:05:04 2013 +0100

urlmon: Skip https tests on IE6.

---

 dlls/urlmon/tests/protocol.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c
index 5133ec8..6255d6f 100644
--- a/dlls/urlmon/tests/protocol.c
+++ b/dlls/urlmon/tests/protocol.c
@@ -3095,10 +3095,10 @@ static void test_ftp_protocol(void)
 
     trace("Testing ftp protocol...\n");
 
+    init_test(FTP_TEST, 0);
+
     bindf = BINDF_ASYNCHRONOUS | BINDF_ASYNCSTORAGE | BINDF_PULLDATA | BINDF_FROMURLMON | BINDF_NOWRITECACHE;
     state = STATE_STARTDOWNLOADING;
-    tested_protocol = FTP_TEST;
-    first_data_notif = TRUE;
     expect_hrResult = E_PENDING;
 
     hres = CoGetClassObject(&CLSID_FtpProtocol, CLSCTX_INPROC_SERVER, NULL, &IID_IUnknown, (void**)&unk);
@@ -3629,7 +3629,10 @@ START_TEST(protocol)
 
     test_file_protocol();
     test_http_protocol();
-    test_https_protocol();
+    if(pCreateUri)
+        test_https_protocol();
+    else
+        win_skip("Skipping https tests on too old platform\n");
     test_ftp_protocol();
     test_gopher_protocol();
     test_mk_protocol();




More information about the wine-cvs mailing list