blob: e174cea791e50b495115e6834bb384a3e897a552 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/usr/bin/perl
# (mdvbz#40842)
#
# a-1 provides aa
# a-2 does not provide aa anymore
#
# b conflicts with a < 2
# b requires aa
#
use strict;
use lib '.', 't';
use helper;
use urpm::util;
use Test::More 'no_plan';
need_root_and_prepare();
my $name = 'dropped-provides';
urpmi_addmedia("$name $::pwd/media/$name");
urpmi('a-1');
check_installed_fullnames('a-1-1');
urpmi('--auto b');
check_installed_and_remove('b', 'a', 'aa');
|