diff options
author | Dan Winship <danw@gnome.org> | 2010-12-10 10:27:39 +0100 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2010-12-10 10:29:04 +0100 |
commit | ec1c3ff3289d7130a8b7354bdee09f24c3ab9962 (patch) | |
tree | dbf7790266519e79aa0697092ac3ac8b39d0ad9a /tests/proxy-test.c | |
parent | 47a50352f20867f0dc53843b682f6c37e09ea6e2 (diff) | |
download | libsoup-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.c | 3 |
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) |