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 --- t/helper.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') 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