On 2016-03-26 19:33:01, SREZIC wrote:
Show quoted text> If libcurl was compiled with gnutls (i.e. the version string looks
> like
>
> libcurl/7.38.0 GnuTLS/3.3.8 zlib/1.2.8 libidn/1.29 libssh2/1.4.3
> librtmp/2.3
>
> or so), then the tests in t/08ssl.t are skipped.
See the attached patch.
From 5954cc4b161177a12f13d82acd652635227c8b9c Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Sun, 27 Mar 2016 00:33:26 +0100
Subject: [PATCH] don't skip tests if libcurl has gnutls support [RT #113356]
---
t/08ssl.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/08ssl.t b/t/08ssl.t
index 7374e06..0057d1b 100644
--- a/t/08ssl.t
+++ b/t/08ssl.t
@@ -28,7 +28,7 @@ my $url_list=[
];
-if (&WWW::Curl::Easy::version() !~ /ssl|nss/i) {
+if (&WWW::Curl::Easy::version() !~ /ssl|nss|gnutls/i) {
plan skip_all => 'libcurl was compiled without ssl support, skipping ssl tests';
} else {
plan tests => scalar(@{$url_list})+7;
--
2.1.4