mirror of
https://github.com/openSUSE/libsolv.git
synced 2026-02-05 12:45:46 +01:00
Add a testcase for orphaned package handling in choice rules
This commit is contained in:
16
test/testcases/choicerules/choice7.t
Normal file
16
test/testcases/choicerules/choice7.t
Normal file
@@ -0,0 +1,16 @@
|
||||
# make sure that orphaned packages do not get
|
||||
# deinstalled by choice rules bnc#1190465
|
||||
repo system 0 testtags <inline>
|
||||
#>=Pkg: A 1 1 noarch
|
||||
#>=Req: P = 1
|
||||
#>=Pkg: P 1 1 noarch
|
||||
repo available 0 testtags <inline>
|
||||
#>=Pkg: P 2 1 noarch
|
||||
#>=Pkg: Q 2 1 noarch
|
||||
#>=Prv: P = 1
|
||||
system i686 rpm system
|
||||
|
||||
job distupgrade all packages
|
||||
result transaction,problems <inline>
|
||||
#>install Q-2-1.noarch@available
|
||||
#>upgrade P-1-1.noarch@system P-2-1.noarch@available
|
||||
Reference in New Issue
Block a user