1
0

test: remove obsolete test

This commit is contained in:
dump_stack() 2023-05-29 10:18:19 +00:00
parent ca57ea2dac
commit 17356ac0e4
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -17,33 +17,3 @@ func TestDebian(t *testing.T) {
assert.NotEmpty(u.Packages())
}
func TestKernelRelease(t *testing.T) {
kernels, err := GetKernels()
if err != nil {
t.Fatal(err)
}
for _, k := range kernels {
r, err := kernelRelease(k)
if err != nil {
t.Log(k.Version, r, err)
}
}
for _, k := range kernels {
r, err := kernelRelease(k)
if err != nil {
continue
}
if r == Wheezy {
t.Log("Wheezy", k.Version)
}
if r == Jessie {
t.Log("Jessie", k.Version)
}
}
}