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

Add testcases for POOL_FLAG_WHATPROVIDESWITHDISABLED

This commit is contained in:
Michael Schroeder
2019-10-08 13:41:45 +02:00
parent 954862319e
commit 7477a28ca5
4 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
repo system 0 testtags <inline>
#>=Pkg: A 1 1 noarch
#>=Vnd: foo
repo available 0 testtags <inline>
#>=Pkg: A 2 1 noarch
#>=Vnd: foo
system i686 rpm system
poolflags whatprovideswithdisabled
disable pkg A-2-1.noarch@available
job distupgrade all packages
result transaction,problems <inline>

View File

@@ -0,0 +1,14 @@
repo system 0 testtags <inline>
#>=Pkg: A 1 1 noarch
#>=Vnd: foo
repo available 0 testtags <inline>
#>=Pkg: A 2 1 noarch
#>=Vnd: foo
system i686 rpm system
poolflags whatprovideswithdisabled
disable pkg A-1-1.noarch@system
job distupgrade all packages
result transaction,problems <inline>

View File

@@ -0,0 +1,19 @@
repo system 0 testtags <inline>
#>=Pkg: D 1 1 noarch
#>=Vnd: foo
#>=Con: A = 3-1
repo available 0 testtags <inline>
#>=Pkg: A 2 1 noarch
#>=Vnd: foo
#>=Pkg: A 3 1 noarch
#>=Vnd: bar
system i686 rpm system
poolflags whatprovideswithdisabled
disable pkg A-3-1.noarch@available
job install name A [forcebest]
result transaction,problems <inline>
#>install A-2-1.noarch@available

View File

@@ -0,0 +1,20 @@
repo system 0 testtags <inline>
#>=Pkg: A 1 1 noarch
#>=Vnd: foo
#>=Pkg: D 1 1 noarch
#>=Vnd: foo
#>=Con: A = 3-1
repo available 0 testtags <inline>
#>=Pkg: A 2 1 noarch
#>=Vnd: foo
#>=Pkg: A 3 1 noarch
#>=Vnd: bar
system i686 rpm system
poolflags whatprovideswithdisabled
disable pkg A-3-1.noarch@available
job install name A [forcebest]
result transaction,problems <inline>
#>upgrade A-1-1.noarch@system A-2-1.noarch@available