1
0
out-of-tree/distro/debian/kernel_test.go

17 lines
221 B
Go

package debian
import (
"testing"
)
func TestGetDebianKernel(t *testing.T) {
dk, err := GetDebianKernel("4.17.14-1")
if err != nil {
t.Fatal(err)
}
if dk.Version.ABI != "4.17.0-2" {
t.Fatalf("wrong abi")
}
}