Skip Menu |
 

This queue is for tickets about the Net-SSLeay CPAN distribution.

Report information
The Basics
Id: 30557
Status: resolved
Worked: 40 min
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: tco2 [...] cornell.edu
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.32
Fixed in: (no value)



Subject: external tests fail because bacus.pt no longer
Download (untitled) / with headers
text/plain 1.2k
Hi t/handle/external/10_destroy.t FAILS from my location because bacus.pt no longer appears to be on the network That host should probably be removed from the @uris array in that file I'd be happier if all three of the hostname arrays could be configured by the installer when installing with cpan. Perhaps additional environment variables in the spirit of OPENSSL_PREFIX could be used. Specifically, how about FILE ARRAY ENV VAR t/handle/external/10_destroy.t @uris SSLEAY_URIS t/handle/external/50_external.t @sites SSLEAY_SITES (or maybe SSLEAY_SITES_HE50) t/external/08_external.t @sites SSLEAY_SITES (or maybe SSLEAY_SITES_E08) Then if the value of SSLEAY_URIS was set to 'host.one:host.two:host.three' then the code in 10_destroy.t might be something like # ========== # set the default my @uris = qw( debianforum.de perldition.org ); @uris = split(':', $ENV{SSLEAY_URIS}) if (exists $ENV{SSLEAY_URIS}); if (@uris) { plan tests => scalar @uris * 2; } else { plan skip_all => 'No external hosts specified for SSL testing'; } # ========= and similar code for the other files
Download (untitled) / with headers
text/plain 1.4k
Hi, These issues have all been fixed in SVN in the way you suggested. Thanks. Cheers. On Wed Nov 07 13:42:43 2007, tco2@cornell.edu wrote: Show quoted text
> Hi > > t/handle/external/10_destroy.t > FAILS from my location because > bacus.pt > no longer appears to be on the network > > That host should probably be removed from the @uris array in that
file Show quoted text
> > I'd be happier if all three of the hostname arrays could be
configured Show quoted text
> by > the installer when installing with cpan. Perhaps additional > environment variables > in the spirit of OPENSSL_PREFIX could be used. Specifically, how > about > > FILE ARRAY > ENV VAR > t/handle/external/10_destroy.t @uris SSLEAY_URIS > t/handle/external/50_external.t @sites SSLEAY_SITES > (or maybe > SSLEAY_SITES_HE50) > t/external/08_external.t @sites
SSLEAY_SITES Show quoted text
> (or maybe > SSLEAY_SITES_E08) > > Then if the value of SSLEAY_URIS was set to > 'host.one:host.two:host.three' > then the code in 10_destroy.t might be something like > > # ========== > # set the default > my @uris = qw( > debianforum.de > perldition.org > ); > > @uris = split(':', $ENV{SSLEAY_URIS}) if (exists $ENV{SSLEAY_URIS}); > > if (@uris) { > plan tests => scalar @uris * 2; > } > else { > plan skip_all => 'No external hosts specified for SSL testing'; > } > > # ========= > and similar code for the other files


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.