@@ -160,16 +160,16 @@ var tests = []struct {
160
160
},
161
161
{
162
162
config : kernelrelease.KernelRelease {
163
- Fullversion : "6.5 .0" ,
163
+ Fullversion : "6.8 .0" ,
164
164
Version : semver.Version {
165
165
Major : 6 ,
166
- Minor : 5 ,
166
+ Minor : 8 ,
167
167
Patch : 0 ,
168
168
},
169
- Extraversion : "9 " ,
170
- FullExtraversion : "-9 " ,
169
+ Extraversion : "48 " ,
170
+ FullExtraversion : "-48 " ,
171
171
Architecture : kernelrelease .ArchitectureAmd64 ,
172
- KernelVersion : "9 " ,
172
+ KernelVersion : "48 " ,
173
173
},
174
174
expected : struct {
175
175
headersURLs []string
@@ -180,31 +180,31 @@ var tests = []struct {
180
180
err error
181
181
}{
182
182
headersURLs : []string {
183
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5 .0-9 -generic_6.5 .0-9.9_amd64 .deb" ,
184
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5 .0-9_6.5 .0-9.9_all .deb" ,
183
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.8 .0-48 -generic_6.8 .0-48.48_amd64 .deb" ,
184
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.8 .0-48_6.8 .0-48.48_all .deb" ,
185
185
},
186
186
urls : []string {
187
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5 .0-9_6.5 .0-9.9_amd64_all .deb" ,
188
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5 .0-9 -generic_6.5 .0-9.9_amd64 .deb" ,
189
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-generic-headers-6.5 .0-9_6.5 .0-9.9_all .deb" ,
190
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5 .0-9_6.5 .0-9.9_amd64 .deb" ,
191
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5 .0-9_6.5 .0-9.9_all .deb" ,
192
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.5 .0-9_6.5 .0-9.9_amd64_all .deb" ,
193
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.5 .0-9 -generic_6.5 .0-9.9_amd64 .deb" ,
194
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-generic-headers-6.5 .0-9_6.5 .0-9.9_all .deb" ,
195
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.5 .0-9_6.5 .0-9.9_amd64 .deb" ,
196
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.5 .0-9_6.5 .0-9.9_all .deb" ,
197
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5 /linux-headers-6.5 .0-9_6.5 .0-9.9_amd64_all .deb" ,
198
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5 /linux-headers-6.5 .0-9 -generic_6.5 .0-9.9_amd64 .deb" ,
199
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5 /linux-generic-headers-6.5 .0-9_6.5 .0-9.9_all .deb" ,
200
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5 /linux-headers-6.5 .0-9_6.5 .0-9.9_amd64 .deb" ,
201
- "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5 /linux-headers-6.5 .0-9_6.5 .0-9.9_all .deb" ,
187
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.8 .0-48_6.8 .0-48.48_amd64_all .deb" ,
188
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.8 .0-48 -generic_6.8 .0-48.48_amd64 .deb" ,
189
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-generic-headers-6.8 .0-48_6.8 .0-48.48_all .deb" ,
190
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.8 .0-48_6.8 .0-48.48_amd64 .deb" ,
191
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.8 .0-48_6.8 .0-48.48_all .deb" ,
192
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.8 .0-48_6.8 .0-48.48_amd64_all .deb" ,
193
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.8 .0-48 -generic_6.8 .0-48.48_amd64 .deb" ,
194
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-generic-headers-6.8 .0-48_6.8 .0-48.48_all .deb" ,
195
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.8 .0-48_6.8 .0-48.48_amd64 .deb" ,
196
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.8 .0-48_6.8 .0-48.48_all .deb" ,
197
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.8 /linux-headers-6.8 .0-48_6.8 .0-48.48_amd64_all .deb" ,
198
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.8 /linux-headers-6.8 .0-48 -generic_6.8 .0-48.48_amd64 .deb" ,
199
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.8 /linux-generic-headers-6.8 .0-48_6.8 .0-48.48_all .deb" ,
200
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.8 /linux-headers-6.8 .0-48_6.8 .0-48.48_amd64 .deb" ,
201
+ "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.8 /linux-headers-6.8 .0-48_6.8 .0-48.48_all .deb" ,
202
202
},
203
203
gccVersion : semver.Version {
204
204
Major : 6 ,
205
205
Minor : 3 ,
206
206
},
207
- firstExtra : "9 " ,
207
+ firstExtra : "48 " ,
208
208
flavor : "generic" ,
209
209
err : nil ,
210
210
},
0 commit comments