add "forcebest" testcases
[platform/upstream/libsolv.git] / test / testcases / forcebest / forcebest_in.t
1 repo system 0 testtags <inline>
2 #>=Pkg: D 1 1 noarch
3 #>=Vnd: foo
4 #>+Prv:
5 #>D = 1-1
6 #>-Prv:
7 #>+Con:
8 #>A = 3-1
9 #>-Con:
10 repo available 0 testtags <inline>
11 #>=Pkg: A 2 1 noarch
12 #>=Vnd: foo
13 #>+Prv:
14 #>A = 2-1
15 #>-Prv:
16 #>=Pkg: A 3 1 noarch
17 #>=Vnd: bar
18 #>+Prv:
19 #>A = 3-1
20 #>-Prv:
21 system i686 rpm system
22
23 job install name A [forcebest]
24 result transaction,problems <inline>
25 #>erase D-1-1.noarch@system
26 #>install A-3-1.noarch@available
27 #>problem 1210fdfb info package D-1-1.noarch conflicts with A = 3-1 provided by A-3-1.noarch
28 #>problem 1210fdfb solution 0d75a914 erase D-1-1.noarch@system
29 #>problem 1210fdfb solution d85f7c4e deljob install name A [forcebest]
30
31 # currently bestobeypolicy is a noop for install jobs
32 nextjob
33 solverflags bestobeypolicy
34 job install name A [forcebest]
35 result transaction,problems <inline>
36 #>erase D-1-1.noarch@system
37 #>install A-3-1.noarch@available
38 #>problem 1210fdfb info package D-1-1.noarch conflicts with A = 3-1 provided by A-3-1.noarch
39 #>problem 1210fdfb solution 0d75a914 erase D-1-1.noarch@system
40 #>problem 1210fdfb solution d85f7c4e deljob install name A [forcebest]