Remove runtime in validate

Validate is useless as dockershim is removed

Signed-off-by: yanghesong <hesong.yang@foxmail.com>
This commit is contained in:
yanghesong
2022-01-09 09:11:49 +08:00
parent d2c9456963
commit 6905fef761
3 changed files with 6 additions and 13 deletions

View File

@@ -43,8 +43,7 @@ func TestValidateHost(t *testing.T) {
// The test should be manually run if modifying the getAppArmorFS function.
t.Skip()
assert.NoError(t, validateHost("docker"))
assert.Error(t, validateHost("rkt"))
assert.NoError(t, validateHost())
}
func TestValidateProfileFormat(t *testing.T) {