Imported Upstream version 0.6.16
[platform/upstream/libsolv.git] / test / testcases / distupgrade / dup_orphan1.t
1 # test dup with orphaned packages
2 #
3 # part 1: simple update
4 #
5 # dup should leave orphaned a installed
6 #
7 repo system 0 testtags <inline>
8 #>=Pkg: a 1 1 i686
9 #>=Pkg: b 1 1 i686
10 repo available 0 testtags <inline>
11 #>=Pkg: b 2 1 i686
12 system i686 * system
13
14 job distupgrade all packages
15 result transaction,problems <inline>
16 #>upgrade b-1-1.i686@system b-2-1.i686@available
17
18 nextjob
19
20 job distupgrade repo available
21 result transaction,problems <inline>
22 #>upgrade b-1-1.i686@system b-2-1.i686@available
23
24
25 ### same with keeporphans
26
27 nextjob
28
29 solverflags keeporphans
30 job distupgrade all packages
31 result transaction,problems <inline>
32 #>upgrade b-1-1.i686@system b-2-1.i686@available
33
34 nextjob
35
36 solverflags keeporphans
37 job distupgrade repo available
38 result transaction,problems <inline>
39 #>upgrade b-1-1.i686@system b-2-1.i686@available
40
41
42 ### same with allowuninstall
43
44 nextjob
45
46 solverflags allowuninstall
47 job distupgrade all packages
48 result transaction,problems <inline>
49 #>upgrade b-1-1.i686@system b-2-1.i686@available
50
51
52 nextjob
53
54 solverflags allowuninstall
55 job distupgrade repo available
56 result transaction,problems <inline>
57 #>upgrade b-1-1.i686@system b-2-1.i686@available
58
59
60 ### same with allowuninstall and keeporphans
61
62 nextjob
63
64 solverflags allowuninstall keeporphans
65 job distupgrade all packages
66 result transaction,problems <inline>
67 #>upgrade b-1-1.i686@system b-2-1.i686@available
68
69
70 nextjob
71
72 solverflags allowuninstall keeporphans
73 job distupgrade repo available
74 result transaction,problems <inline>
75 #>upgrade b-1-1.i686@system b-2-1.i686@available
76
77
78