summaryrefslogtreecommitdiff
path: root/tests/proxy-test.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2010-12-10 10:27:39 +0100
committerDan Winship <danw@gnome.org>2010-12-10 10:29:04 +0100
commitec1c3ff3289d7130a8b7354bdee09f24c3ab9962 (patch)
treedbf7790266519e79aa0697092ac3ac8b39d0ad9a /tests/proxy-test.c
parent47a50352f20867f0dc53843b682f6c37e09ea6e2 (diff)
downloadlibsoup-ec1c3ff3289d7130a8b7354bdee09f24c3ab9962.tar.gz
Add glib-networking to the MISSING_REGRESSION_TEST_PACKAGES checks
and make timeout-test and proxy-test skip their https tests if it's not available
Diffstat (limited to 'tests/proxy-test.c')
-rw-r--r--tests/proxy-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/proxy-test.c b/tests/proxy-test.c
index 4fb74ed5..e6e910dc 100644
--- a/tests/proxy-test.c
+++ b/tests/proxy-test.c
@@ -90,6 +90,9 @@ test_url (const char *url, int proxy, guint expected,
SoupURI *proxy_uri;
SoupMessage *msg;
+ if (!tls_available && g_str_has_prefix (url, "https:"))
+ return;
+
debug_printf (1, " GET %s via %s%s\n", url, proxy_names[proxy],
close ? " (with Connection: close)" : "");
if (proxy == UNAUTH_PROXY && expected != SOUP_STATUS_FORBIDDEN)