Skip Menu |

This queue is for tickets about the WWW-Curl CPAN distribution.

Report information
The Basics
Id: 113356
Status: new
Priority: 0/
Queue: WWW-Curl

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 4.17
Fixed in: (no value)



Subject: t/08ssl.t skipped on systems with gnutls
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.
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.
Subject: 0001-don-t-skip-tests-if-libcurl-has-gnutls-support-RT-11.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