summaryrefslogtreecommitdiffstats
path: root/t/superuser--handle-conflict-deps.t
blob: a8a2e4c7a35e45f0779db10a35c430d91acd9b2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/perl

# test from bugs #12696, #11885

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

need_root_and_prepare();

my $name = 'handle-conflict-deps';
urpmi_addmedia("$name $::pwd/media/$name");    

urpmi('--auto a-sup');
check_installed_names('a', 'a-sup');

urpmi('--auto b');
check_installed_names('b', 'b-sub');