From b23808f26cac2456cc0c459314130adabfe90e6e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 10 Apr 2020 18:03:12 +0200 Subject: introduce is_mageia() --- t/superuser--mirrorlist.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/superuser--mirrorlist.t') diff --git a/t/superuser--mirrorlist.t b/t/superuser--mirrorlist.t index 26cbc3fd..8a38d11b 100644 --- a/t/superuser--mirrorlist.t +++ b/t/superuser--mirrorlist.t @@ -7,7 +7,7 @@ use Test::More; # Must be done before 'use urpm::cfg' else we got: # '1..0 # SKIP Needs a Mageia specific patch that introduces Time::ZoneInfo->current_zone()' BEGIN { - if (-e '/etc/mageia-release') { + if (is_mageia()) { plan 'no_plan'; } else { plan skip_all => "Needs a Mageia specific patch that introduces Time::ZoneInfo->current_zone()"; -- cgit v1.2.1