summaryrefslogtreecommitdiffstats
path: root/t/superuser--arch_to_noarch.t
blob: 71c56b97d23f078ba63629ccae8388e0b0120f87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/perl

use strict;
use lib '.', 't';
use helper;
use Test::More 'no_plan';

need_root_and_prepare();

my $name = 'arch_to_noarch';

foreach my $nb (1 .. 4) {
    my $medium_name = "${name}_$nb";
    urpmi_addmedia("$medium_name $::pwd/media/$medium_name");
    urpmi("$name");
    check_installed_fullnames("$name-$nb-1");
}