From 7446f94c052a40a5f21253b97a0fd36495ea7ed8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 29 Apr 2020 17:28:34 +0200 Subject: do not skip network tests on pre-UsrMove distros Eg: on Mageia 2, the network test would be skipped due to faulty test which caused us to think no downloader would be available --- NEWS | 3 +++ t/helper.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 5841d286..bcb74169 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- cpan_testers: + o do not skip network tests on pre-UsrMove distros (eg: Mageia 2) + Version 8.122 - 28 April 2020 - cpan_testers: diff --git a/t/helper.pm b/t/helper.pm index 950c3c65..74e0eb07 100644 --- a/t/helper.pm +++ b/t/helper.pm @@ -53,7 +53,7 @@ sub need_downloader() { my @dl_helpers = qw(wget curl prozilla aria2c); my $found; foreach (@dl_helpers) { - -e "/bin/$_" and $found = 1; + -e "/bin/$_" || -e "/usr/bin/$_" and $found = 1; } if (!$found) { warn "SKIPing because we're missing a downloader. We need one of wget/curl/prozilla/aria2c"; -- cgit v1.2.1