1Description: Debian forbids calls to external websites. 2 3Author: Gianfranco Costamagna <locutus@debian.org> 4Origin: Debian 5Forwarded: not-needed 6Reviewed-By: Gianfranco Costamagna <locutusofborg@debian.org> 7Last-Update: 2015-11-25 8 9Index: cpprest/Release/tests/functional/http/client/CMakeLists.txt 10=================================================================== 11--- cpprest.orig/Release/tests/functional/http/client/CMakeLists.txt 12+++ cpprest/Release/tests/functional/http/client/CMakeLists.txt 13@@ -12,7 +12,6 @@ 14 multiple_requests.cpp 15 oauth1_tests.cpp 16 oauth2_tests.cpp 17- outside_tests.cpp 18 pipeline_stage_tests.cpp 19 progress_handler_tests.cpp 20 proxy_tests.cpp 21Index: cpprest/Release/tests/functional/http/client/authentication_tests.cpp 22=================================================================== 23--- cpprest.orig/Release/tests/functional/http/client/authentication_tests.cpp 24+++ cpprest/Release/tests/functional/http/client/authentication_tests.cpp 25@@ -675,9 +675,9 @@ 26 VERIFY_ARE_EQUAL(return_code, response.status_code()); 27 } 28 29- TEST(auth_no_data) { auth_test_impl(false); } 30+ //TEST(auth_no_data) { auth_test_impl(false); } 31 32- TEST(unsuccessful_auth_with_basic_cred) { auth_test_impl(true); } 33+ //TEST(unsuccessful_auth_with_basic_cred) { auth_test_impl(true); } 34 35 TEST_FIXTURE(uri_address, set_user_options_asio_http) 36 { 37@@ -695,6 +695,7 @@ 38 VERIFY_ARE_EQUAL(200, response.status_code()); 39 } 40 41+ /* 42 TEST_FIXTURE(uri_address, set_user_options_asio_https) 43 { 44 handle_timeout([] { 45@@ -714,6 +715,7 @@ 46 VERIFY_IS_FALSE(v.empty()); 47 }); 48 } 49+ */ 50 51 #endif 52 53Index: cpprest/Release/tests/functional/websockets/client/authentication_tests.cpp 54=================================================================== 55--- cpprest.orig/Release/tests/functional/websockets/client/authentication_tests.cpp 56+++ cpprest/Release/tests/functional/websockets/client/authentication_tests.cpp 57@@ -93,6 +93,7 @@ SUITE(authentication_tests) 58 return false; 59 } 60 61+ /* 62 TEST(ssl_test) 63 { 64 websocket_client client; 65@@ -127,6 +128,7 @@ SUITE(authentication_tests) 66 throw; 67 } 68 } 69+ */ 70 71 void handshake_error_test_impl(const ::utility::string_t& host) 72 { 73@@ -148,11 +150,11 @@ SUITE(authentication_tests) 74 } 75 } 76 77- TEST(self_signed_cert) { handshake_error_test_impl(U("wss://self-signed.badssl.com/")); } 78+ //TEST(self_signed_cert) { handshake_error_test_impl(U("wss://self-signed.badssl.com/")); } 79 80- TEST(hostname_mismatch) { handshake_error_test_impl(U("wss://wrong.host.badssl.com/")); } 81+ //TEST(hostname_mismatch) { handshake_error_test_impl(U("wss://wrong.host.badssl.com/")); } 82 83- TEST(cert_expired) { handshake_error_test_impl(U("wss://expired.badssl.com/")); } 84+ //TEST(cert_expired) { handshake_error_test_impl(U("wss://expired.badssl.com/")); } 85 86 } // SUITE(authentication_tests) 87 88Index: cpprest/Release/tests/functional/http/client/connections_and_errors.cpp 89=================================================================== 90--- cpprest.orig/Release/tests/functional/http/client/connections_and_errors.cpp 91+++ cpprest/Release/tests/functional/http/client/connections_and_errors.cpp 92@@ -408,6 +408,7 @@ 93 } 94 #endif 95 96+ /* 97 // Try to connect to a server on a closed port and cancel the operation. 98 TEST_FIXTURE(uri_address, cancel_bad_port) 99 { 100@@ -439,6 +440,7 @@ 101 102 VERIFY_THROWS_HTTP_ERROR_CODE(t.get(), std::errc::operation_canceled); 103 } 104+ */ 105 106 } // SUITE(connections_and_errors) 107 108--- cpprest-2.10.16.orig/Release/tests/functional/http/client/redirect_tests.cpp 109+++ cpprest-2.10.16/Release/tests/functional/http/client/redirect_tests.cpp 110@@ -159,7 +159,7 @@ SUITE(redirect_tests) 111 VERIFY_NO_THROWS(reply.get()); 112 } 113 } 114- 115+/* 116 TEST(does_not_follow_https_to_http_by_default) 117 { 118 handle_timeout([] { 119@@ -182,7 +182,7 @@ SUITE(redirect_tests) 120 ); 121 }); 122 } 123- 124+*/ 125 TEST_FIXTURE(uri_address, follows_permanent_redirect) 126 { 127 #if USING_WINHTTP 128