Subject: | external tests fail because bacus.pt no longer |
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