1
0
mirror of https://github.com/openSUSE/libsolv.git synced 2026-02-05 12:45:46 +01:00

Test selection_matchsolvable

This commit is contained in:
Michael Schroeder
2018-10-08 13:23:36 +02:00
parent 80e9b27fdf
commit 85b31edf51
2 changed files with 58 additions and 10 deletions

View File

@@ -0,0 +1,27 @@
repo available 0 testtags <inline>
#>=Pkg: A1 1 1 noarch
#>=Req: B > 1 + B < 3
#>=Pkg: A2 1 1 noarch
#>=Req: B > 1 & B < 3
#>=Pkg: X 1 1 noarch
#>=Prv: B = 4
#>=Pkg: Y 1 1 noarch
#>=Prv: B = 2
#>=Pkg: A1 2 1 noarch
system i686 rpm
job noop selection_matchsolvable solvable:requires X-1-1.noarch@available flat
result jobs <inline>
#>job noop pkg A2-1-1.noarch@available [noautoset]
nextjob
job noop selection_matchsolvable solvable:requires Y-1-1.noarch@available flat
result jobs <inline>
#>job noop oneof A1-1-1.noarch@available A2-1-1.noarch@available
nextjob
job noop selection A1 name
job noop selection_matchsolvable solvable:requires Y-1-1.noarch@available flat,filter
result jobs <inline>
#>job noop pkg A1-1-1.noarch@available [noautoset]