diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-10 18:03:12 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-28 20:58:59 +0200 |
commit | b23808f26cac2456cc0c459314130adabfe90e6e (patch) | |
tree | aedef6d34f2cac74012327c5d61f4b4fa9b3ed0c /t/superuser--mirrorlist.t | |
parent | 080526f4e4dc713d95494744344dac37aaf69b0e (diff) | |
download | urpmi-b23808f26cac2456cc0c459314130adabfe90e6e.tar urpmi-b23808f26cac2456cc0c459314130adabfe90e6e.tar.gz urpmi-b23808f26cac2456cc0c459314130adabfe90e6e.tar.bz2 urpmi-b23808f26cac2456cc0c459314130adabfe90e6e.tar.xz urpmi-b23808f26cac2456cc0c459314130adabfe90e6e.zip |
introduce is_mageia()
Diffstat (limited to 't/superuser--mirrorlist.t')
-rw-r--r-- | t/superuser--mirrorlist.t | 2 |
1 files changed, 1 insertions, 1 deletions
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()"; |