summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-01-15 04:24:10 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-01-17 02:23:00 +0100
commitad953e4c4bca7e5bd9f5b5664298e04272537479 (patch)
treee186529085c0716c5d1fe60dc2bc491f3826db37
parent46387084f6d0e09207354daed3fe2531035d638d (diff)
downloadurpmi-ad953e4c4bca7e5bd9f5b5664298e04272537479.tar
urpmi-ad953e4c4bca7e5bd9f5b5664298e04272537479.tar.gz
urpmi-ad953e4c4bca7e5bd9f5b5664298e04272537479.tar.bz2
urpmi-ad953e4c4bca7e5bd9f5b5664298e04272537479.tar.xz
urpmi-ad953e4c4bca7e5bd9f5b5664298e04272537479.zip
cpan_testers: skip mirrorlist tests on !Mageia
Rationale: It needs a Mageia specific patch that introduces Time::ZoneInfo->current_zone()"
-rw-r--r--NEWS1
-rw-r--r--t/superuser--mirrorlist.t2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3048433c..94ff6772 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@
o actually needs perl >= 5.10 for //= operator
o fix failing scriptlets test with rpm < 4.13.0
o fix testsuite errors on CentOs (NVR vs NVRA)
+ o skip mirrorlist tests on !Mageia
o skip tests if we have no supported downloader
o testsuite needs rpmtools
diff --git a/t/superuser--mirrorlist.t b/t/superuser--mirrorlist.t
index 3e064afd..f59259b7 100644
--- a/t/superuser--mirrorlist.t
+++ b/t/superuser--mirrorlist.t
@@ -4,6 +4,8 @@ use strict;
use lib '.', 't';
use helper;
use Test::More 'no_plan';
+plan skip_all => "Needs a Mageia specific patch that introduces Time::ZoneInfo->current_zone()" if !-e '/etc/mageia-release';
+
BEGIN { use_ok 'urpm::cfg' }
need_root_and_prepare();