summaryrefslogtreecommitdiffstats
path: root/t
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 /t
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()"
Diffstat (limited to 't')
-rw-r--r--t/superuser--mirrorlist.t2
1 files changed, 2 insertions, 0 deletions
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();