diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | t/superuser--mirrorlist.t | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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(); |