diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-01-07 14:06:19 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-01-07 14:53:51 +0100 |
commit | 67460c77acc847ab1ee92d0cd20f4f9889c5f906 (patch) | |
tree | 645cf2a8c2b259f07351a5f6607603e2d57d38d6 /t/superuser--mirrorlist.t | |
parent | 2d1f003ce467fc0ac7cfc997b46ea67b67953383 (diff) | |
download | urpmi-67460c77acc847ab1ee92d0cd20f4f9889c5f906.tar urpmi-67460c77acc847ab1ee92d0cd20f4f9889c5f906.tar.gz urpmi-67460c77acc847ab1ee92d0cd20f4f9889c5f906.tar.bz2 urpmi-67460c77acc847ab1ee92d0cd20f4f9889c5f906.tar.xz urpmi-67460c77acc847ab1ee92d0cd20f4f9889c5f906.zip |
(need_downloader) split it for next commit
also switching one character back from UTF to ASCII
Diffstat (limited to 't/superuser--mirrorlist.t')
-rw-r--r-- | t/superuser--mirrorlist.t | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/t/superuser--mirrorlist.t b/t/superuser--mirrorlist.t index 0a0d877a..3e064afd 100644 --- a/t/superuser--mirrorlist.t +++ b/t/superuser--mirrorlist.t @@ -5,20 +5,11 @@ use lib '.', 't'; use helper; use Test::More 'no_plan'; BEGIN { use_ok 'urpm::cfg' } -my @dl_helpers = qw(wget curl prozilla aria2c); -my $found; -foreach (@dl_helpers) { - -e "/bin/$_" and $found = 1; -} -if (!$found) { - warn "SKIPing because we're missing a downloader. We need one of wget∕curl/prozilla/aria2c"; - #plan skip_all => "*BSD fails those"; - exit 0; -} - need_root_and_prepare(); +need_downloader(); + urpmi_addmedia('--mirrorlist \$MIRRORLIST core media/core/release'); is(run_urpm_cmd('urpmq sed'), "sed\n"); urpmi_removemedia('core'); |