mirror of
https://github.com/openSUSE/libsolv.git
synced 2026-02-05 12:45:46 +01:00
Finish strict repo priority support
- add flag to bindings - support flag/ruletype in testcases - support strict repo prio problems in solution generation - implement automatic disabling of strict repo rules due to install jobs - add a testcase
This commit is contained in:
22
test/testcases/strictrepoprio/strictrepoprio.t
Normal file
22
test/testcases/strictrepoprio/strictrepoprio.t
Normal file
@@ -0,0 +1,22 @@
|
||||
repo system 0 empty
|
||||
repo available 0 testtags <inline>
|
||||
#>=Pkg: A 2 1 noarch
|
||||
repo available 1 testtags <inline>
|
||||
#>=Pkg: A 1 1 noarch
|
||||
#>=Req: B
|
||||
system i686 rpm system
|
||||
|
||||
solverflags strictrepopriority
|
||||
job install name A
|
||||
result transaction,problems <inline>
|
||||
#>problem 30c1639e info nothing provides B needed by A-1-1.noarch
|
||||
#>problem 30c1639e solution 23f73f5b deljob install name A
|
||||
#>problem 30c1639e solution 5dd1416b allow A-2-1.noarch@available
|
||||
|
||||
nextjob
|
||||
|
||||
solverflags strictrepopriority
|
||||
job install pkg A-2-1.noarch@available
|
||||
result transaction,problems <inline>
|
||||
#>install A-2-1.noarch@available
|
||||
|
||||
Reference in New Issue
Block a user