summaryrefslogtreecommitdiff
path: root/test/testcases/namespace/namespaceprovides.t
blob: 609b58a67fb0c60d0a29d984da1ff96adbfa2c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
repo system 0 testtags <inline>
#>=Ver: 2
#>=Pkg: B 1 1 noarch
#>=Prv: locale(en)
#>=Pkg: C 1 1 noarch
repo test 0 testtags <inline>
#>=Ver: 2
#>=Pkg: A 1 1 noarch
#>=Prv: locale(de)
#>=Pkg: C-de 1 1 noarch
#>=Prv: locale(C:de)
#>=Pkg: C-en 1 1 noarch
#>=Prv: locale(C:en)
#>=Pkg: D 1 1 noarch
#>=Sup: C
#>=Pkg: E 1 1 noarch
#>=Prv: locale(F:de)
#>=Pkg: F 1 1 noarch
#>=Pkg: G 1 1 noarch
#>=Sup: F
system i686 rpm system

# first test an empty job
namespace namespace:language(de) @SYSTEM
result transaction,problems <inline>

# then test addalreadyrecommended
nextjob
namespace namespace:language(de) @SYSTEM
solverflags addalreadyrecommended
result transaction,problems <inline>
#>install A-1-1.noarch@test
#>install C-de-1-1.noarch@test
#>install D-1-1.noarch@test

nextjob
namespace namespace:language(de) @SYSTEM
job install provides namespace:language(de)
result transaction,problems <inline>
#>install A-1-1.noarch@test
#>install C-de-1-1.noarch@test

nextjob
namespace namespace:language(de) @SYSTEM
job erase provides namespace:language(en) [cleandeps]
result transaction,problems <inline>
#>erase B-1-1.noarch@system

nextjob
namespace namespace:language(de) @SYSTEM
job install provides namespace:language(<NULL>)
result transaction,problems <inline>
#>install A-1-1.noarch@test
#>install C-de-1-1.noarch@test

nextjob
namespace namespace:language(de) @SYSTEM
job erase provides namespace:language(<NULL>) [cleandeps]
result transaction,problems <inline>
#>erase B-1-1.noarch@system

nextjob
namespace namespace:language(de) @SYSTEM
job install provides namespace:language(<NULL>)
job erase provides namespace:language(<NULL>) [cleandeps]
result transaction,problems <inline>
#>erase B-1-1.noarch@system
#>install A-1-1.noarch@test
#>install C-de-1-1.noarch@test

nextjob
namespace namespace:language(de) @SYSTEM
solverflags addalreadyrecommended onlynamespacerecommended
result transaction,problems <inline>
#>install A-1-1.noarch@test
#>install C-de-1-1.noarch@test

nextjob
namespace namespace:language(de) @SYSTEM
solverflags onlynamespacerecommended
job install name F
result transaction,problems <inline>
#>install E-1-1.noarch@test
#>install F-1-1.noarch@test