File tree Expand file tree Collapse file tree
test/testcases/strongrecommends Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1818,6 +1818,7 @@ static struct rclass2str {
18181818 { SOLVER_RULE_LEARNT , "learnt" },
18191819 { SOLVER_RULE_BEST , "best" },
18201820 { SOLVER_RULE_YUMOBS , "yumobs" },
1821+ { SOLVER_RULE_RECOMMENDS , "recommends" },
18211822 { 0 , 0 }
18221823};
18231824
Original file line number Diff line number Diff line change 1+ # test strong recommends
2+ #
3+ # with normal recommends, the solver will
4+ # not backtrack to fulfill them.
5+ #
6+ repo system 0 testtags <inline >
7+ # >=Pkg: A 1 1 noarch
8+ # >=Con: C
9+ # >=Pkg: A2 1 1 noarch
10+ # >=Con: C2
11+ repo available 0 testtags <inline >
12+ # >=Pkg: A 1 2 noarch
13+ # >=Pkg: B 1 1 noarch
14+ # >=Rec: C
15+ # >=Pkg: C 1 1 noarch
16+ # >=Pkg: B2 1 1 noarch
17+ # >=Rec: C2
18+ # >=Pkg: C2 1 1 noarch
19+ # >=Pkg: D 1 1 noarch
20+ # >=Prv: C
21+ # >=Pkg: E 1 1 noarch
22+ # >=Prv: C
23+ system i686 rpm system
24+ solverflags strongrecommends
25+ job install name B
26+ job install name B2
27+ job disfavor name C
28+ result transaction,problems,alternatives <inline >
29+ # >alternative 6b91d100 1 + D-1-1.noarch@available
30+ # >alternative 6b91d100 2 E-1-1.noarch@available
31+ # >install B-1-1.noarch@available
32+ # >install B2-1-1.noarch@available
33+ # >install D-1-1.noarch@available
34+ # >upgrade A-1-1.noarch@system A-1-2.noarch@available
You can’t perform that action at this time.
0 commit comments