summaryrefslogtreecommitdiff
path: root/test/testcases/selection/selection_provides.t
blob: cb3a02959efc77b4ff1cabb34532610bfa6d99ed (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
repo available 0 testtags <inline>
#>=Pkg: A 2 1 noarch
#>=Pkg: AP 3 1 noarch
#>=Prv: A = 3.1
#>=Pkg: A 2 2 i686
#>=Req: BBB > 5
#>=Pkg: B 1 1 src
#>=Pkg: A 2 2 badarch
#>=Pkg: C 2 2 badarch
#>=Pkg: D 2 2 badarch
#>=Pkg: D 2 2 noarch
system i686 rpm

job noop selection A provides
result jobs <inline>
#>job noop provides A

nextjob
job noop selection A.i686 provides,dotarch
result jobs <inline>
#>job noop provides A . i686 [setarch]

nextjob
job noop selection A.i686>1 provides,dotarch,rel
result jobs <inline>
#>job noop provides (A . i686) > 1 [setarch]

nextjob
job noop selection A* glob,provides,withbadarch
result jobs <inline>
#>job noop oneof A-2-1.noarch@available AP-3-1.noarch@available A-2-2.i686@available A-2-2.badarch@available
#>job noop provides AP

nextjob
job noop selection A*>=2 glob,provides,dotarch,rel,withbadarch
result jobs <inline>
#>job noop oneof A-2-1.noarch@available AP-3-1.noarch@available A-2-2.i686@available A-2-2.badarch@available
#>job noop provides AP >= 2

nextjob
job noop selection C provides,withbadarch
result jobs <inline>
#>job noop pkg C-2-2.badarch@available [noautoset]


nextjob
job noop selection D provides,withbadarch
result jobs <inline>
#>job noop oneof D-2-2.badarch@available D-2-2.noarch@available