@@ -26,6 +26,7 @@ func TestParseApkInfo(t *testing.T) {
26
26
SrcName : "musl" ,
27
27
SrcVersion : "1.1.14-r10" ,
28
28
Licenses : []string {"MIT" },
29
+ Arch : "x86_64" ,
29
30
Digest : "sha1:d68b402f35f57750f49156b0cb4e886a2ad35d2d" ,
30
31
},
31
32
{
@@ -36,6 +37,7 @@ func TestParseApkInfo(t *testing.T) {
36
37
SrcVersion : "1.24.2-r9" ,
37
38
Licenses : []string {"GPL-2.0" },
38
39
DependsOn : []
string {
"[email protected] " },
40
+ Arch : "x86_64" ,
39
41
Digest : "sha1:ca124719267cd0bedc2f4cb850a286ac13f0ad44" ,
40
42
},
41
43
{
@@ -46,6 +48,7 @@ func TestParseApkInfo(t *testing.T) {
46
48
SrcVersion : "3.0.3-r0" ,
47
49
Licenses : []string {"GPL-2.0" },
48
50
51
+ Arch : "x86_64" ,
49
52
Digest : "sha1:a214896150411d72dd1fafdb32d1c6c4855cccfa" ,
50
53
},
51
54
{
@@ -55,6 +58,7 @@ func TestParseApkInfo(t *testing.T) {
55
58
SrcName : "alpine-keys" ,
56
59
SrcVersion : "1.1-r0" ,
57
60
Licenses : []string {"GPL-3.0" },
61
+ Arch : "x86_64" ,
58
62
Digest : "sha1:4def7ffaee6aeba700c1d62570326f75cbb8fa25" ,
59
63
},
60
64
{
@@ -65,6 +69,7 @@ func TestParseApkInfo(t *testing.T) {
65
69
SrcVersion : "1.2.8-r2" ,
66
70
Licenses : []string {"Zlib" },
67
71
DependsOn : []
string {
"[email protected] " },
72
+ Arch : "x86_64" ,
68
73
Digest : "sha1:efd04d34d40aa8eb331480127364c27a8ba760ef" ,
69
74
},
70
75
{
@@ -75,6 +80,7 @@ func TestParseApkInfo(t *testing.T) {
75
80
SrcVersion : "1.0.2h-r1" ,
76
81
Licenses : []string {"openssl" },
77
82
83
+ Arch : "x86_64" ,
78
84
Digest : "sha1:65c860ff8f103b664f40ba849a3f5a51c69c8beb" ,
79
85
},
80
86
{
@@ -89,6 +95,7 @@ func TestParseApkInfo(t *testing.T) {
89
95
90
96
91
97
},
98
+ Arch : "x86_64" ,
92
99
},
93
100
{
94
101
@@ -104,6 +111,7 @@ func TestParseApkInfo(t *testing.T) {
104
111
105
112
106
113
},
114
+ Arch : "x86_64" ,
107
115
},
108
116
{
109
117
@@ -114,6 +122,7 @@ func TestParseApkInfo(t *testing.T) {
114
122
Licenses : []string {"GPL-2.0" },
115
123
Digest : "sha1:f9bab817c5ad93e92a6218bc0f7596b657c02d90" ,
116
124
DependsOn : []
string {
"[email protected] " },
125
+ Arch : "x86_64" ,
117
126
},
118
127
{
119
128
@@ -127,6 +136,7 @@ func TestParseApkInfo(t *testing.T) {
127
136
128
137
129
138
},
139
+ Arch : "x86_64" ,
130
140
},
131
141
{
132
142
@@ -137,6 +147,7 @@ func TestParseApkInfo(t *testing.T) {
137
147
Licenses : []string {"GPL-3.0" },
138
148
Digest : "sha1:9055bc7afd76cf2672198042f72fc4a5ed4fa961" ,
139
149
DependsOn : []
string {
"[email protected] " },
150
+ Arch : "x86_64" ,
140
151
},
141
152
{
142
153
@@ -147,6 +158,7 @@ func TestParseApkInfo(t *testing.T) {
147
158
Licenses : []string {"ISC" },
148
159
Digest : "sha1:e6242ac29589c8a84a4b179b491ea7c29fce66a9" ,
149
160
DependsOn : []
string {
"[email protected] " },
161
+ Arch : "x86_64" ,
150
162
},
151
163
152
164
{
@@ -158,6 +170,7 @@ func TestParseApkInfo(t *testing.T) {
158
170
Licenses : []string {"Public-Domain" },
159
171
Digest : "sha1:1464946c3a5f0dd5a67ca1af930fc17af7a74474" ,
160
172
DependsOn : []
string {
"[email protected] " },
173
+ Arch : "x86_64" ,
161
174
},
162
175
163
176
{
@@ -172,6 +185,7 @@ func TestParseApkInfo(t *testing.T) {
172
185
173
186
174
187
},
188
+ Arch : "x86_64" ,
175
189
},
176
190
},
177
191
wantFiles : []string {
0 commit comments