distro/*: test kernels in image types

Test that all defined image types return at least one kernel when given
an empty blueprint and exactly one kernel for ostree-commit types.
This commit is contained in:
Achilleas Koutsou 2021-02-01 15:17:18 +01:00 committed by Tom Gundersen
parent 8d9753a4c2
commit 1ef1bab5a8
5 changed files with 59 additions and 0 deletions

View file

@ -586,3 +586,7 @@ func TestRhel84_ModulePlatformID(t *testing.T) {
centos := rhel84.NewCentos()
assert.Equal(t, "platform:el8", centos.ModulePlatformID())
}
func TestRhel84_KernelOption(t *testing.T) {
distro_test_common.TestDistro_KernelOption(t, rhel84.New())
}