summaryrefslogtreecommitdiffstats
path: root/tests/ob_parse_dep.rc
blob: 3a8c81d9f9678c2b1e4c71dc4fdccbb20674682b (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
86
87
88
89
90
91
92
93
94
95
dep='foo'
pkg='foo'
archqual=''
rel=''
ver=''
arches=''
testcase

dep='foo:core-linux-eglibc'
pkg='foo'
archqual='core-linux-eglibc'
rel=''
ver=''
arches=''
testcase

dep='foo (>= 1.0)'
pkg='foo'
archqual=''
rel='>='
ver='1.0'
arches=''
testcase

dep='foo(>=1.0)'
pkg='foo'
archqual=''
rel='>='
ver='1.0'
arches=''
testcase

dep='foo   (>=   1.0)'
pkg='foo'
archqual=''
rel='>='
ver='1.0'
arches=''
testcase

dep='foo [core-linux-eglibc]'
pkg='foo'
archqual=''
rel=''
ver=''
arches='core-linux-eglibc'
testcase

dep='foo[core-linux-eglibc]'
pkg='foo'
archqual=''
rel=''
ver=''
arches='core-linux-eglibc'
testcase

dep='foo   [core-linux-eglibc]'
pkg='foo'
archqual=''
rel=''
ver=''
arches='core-linux-eglibc'
testcase

dep='foo:core-linux-eglibc (>= 1.0) [core-linux-eglibc]'
pkg='foo'
archqual='core-linux-eglibc'
rel='>='
ver='1.0'
arches='core-linux-eglibc'
testcase

dep='foo:core-linux-eglibc(>=1.0)[core-linux-eglibc]'
pkg='foo'
archqual='core-linux-eglibc'
rel='>='
ver='1.0'
arches='core-linux-eglibc'
testcase

dep='foo:core-linux-eglibc   (>=   1.0)   [core-linux-eglibc]'
pkg='foo'
archqual='core-linux-eglibc'
rel='>='
ver='1.0'
arches='core-linux-eglibc'
testcase

dep='busybox (<< 1.21.1.12)'
pkg='busybox'
archqual=''
rel='<<'
ver='1.21.1.12'
arches=''
testcase