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:
14
test/testcases/whatprovideswithdisabled/dup.t
Normal file
14
test/testcases/whatprovideswithdisabled/dup.t
Normal 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>
|
||||
|
||||
14
test/testcases/whatprovideswithdisabled/dup2.t
Normal file
14
test/testcases/whatprovideswithdisabled/dup2.t
Normal 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>
|
||||
|
||||
19
test/testcases/whatprovideswithdisabled/forcebest_in.t
Normal file
19
test/testcases/whatprovideswithdisabled/forcebest_in.t
Normal 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
|
||||
|
||||
|
||||
20
test/testcases/whatprovideswithdisabled/forcebest_up.t
Normal file
20
test/testcases/whatprovideswithdisabled/forcebest_up.t
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user