diff options
author | Anssi Hannula <anssi@mandriva.org> | 2010-01-24 15:15:09 +0000 |
---|---|---|
committer | Anssi Hannula <anssi@mandriva.org> | 2010-01-24 15:15:09 +0000 |
commit | 4d2422f8f9419d42fff5366d2ff9ff7f92973fee (patch) | |
tree | 7b638bdaab8d5cb12880c99a16b6323ac626690f /t/superuser--failing-promotion.t | |
parent | baf12a8c142532799d2002884b4c82ca791c99c4 (diff) | |
download | urpmi-4d2422f8f9419d42fff5366d2ff9ff7f92973fee.tar urpmi-4d2422f8f9419d42fff5366d2ff9ff7f92973fee.tar.gz urpmi-4d2422f8f9419d42fff5366d2ff9ff7f92973fee.tar.bz2 urpmi-4d2422f8f9419d42fff5366d2ff9ff7f92973fee.tar.xz urpmi-4d2422f8f9419d42fff5366d2ff9ff7f92973fee.zip |
Add urpmi testcase for bug #57224 (disabled until fixed)
Diffstat (limited to 't/superuser--failing-promotion.t')
-rw-r--r-- | t/superuser--failing-promotion.t | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/t/superuser--failing-promotion.t b/t/superuser--failing-promotion.t index 055cbcde..aaa80f26 100644 --- a/t/superuser--failing-promotion.t +++ b/t/superuser--failing-promotion.t @@ -2,6 +2,8 @@ # # testcase for bug #50666 # +# a-1 +# a-2 # b-1 requires c # b-2 requires c # c-1 requires a-1 @@ -11,6 +13,22 @@ # user has a-1, b-1, c-1 installed # trying to upgrade a has to remove b, c # +# +# testcase for bug #57224 +# +# a-1 +# a-2 +# e-1 requires f +# e-2 requires f +# f1.x86_64 provides f, requires a-1 +# f1.i586 provides f +# f2 provides f, conflicts a-2 +# +# user has a-1, e-1, f1.x86_64 installed +# trying to upgrade a and e ( = auto-select) has to remove e, f1 +# the additional f1.i586 and f2 should not confuse urpmi +# +# use strict; use lib '.', 't'; use helper; @@ -22,8 +40,16 @@ need_root_and_prepare(); my $name = 'failing-promotion'; urpmi_addmedia("$name $::pwd/media/$name"); +# bug #50666 urpmi("--auto a-1 c-1 b-1"); check_installed_fullnames("a-1-1", "c-1-1", "b-1-1"); urpmi("--auto a"); -check_installed_fullnames("a-2-1"); +check_installed_fullnames_and_remove("a-2-1"); + +# bug #57224 +urpmi("--auto --ignorearch a-1 e-1 f1-1-1.x86_64"); +check_installed_fullnames("a-1-1", "e-1-1", "f1-1-1"); +# disabled until fixed +#urpmi("--auto --ignorearch --strict-arch --auto-select"); +#check_installed_fullnames_and_remove("a-2-1"); |