From ad953e4c4bca7e5bd9f5b5664298e04272537479 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 15 Jan 2020 04:24:10 +0100 Subject: cpan_testers: skip mirrorlist tests on !Mageia Rationale: It needs a Mageia specific patch that introduces Time::ZoneInfo->current_zone()" --- NEWS | 1 + t/superuser--mirrorlist.t | 2 ++ 2 files changed, 3 insertions(+) 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(); -- cgit v1.2.1