enable to specific unconfined AppArmor profile

This commit is contained in:
Di Xu
2017-09-13 15:20:18 +08:00
parent b188868fd9
commit 5e96f7cae9
9 changed files with 38 additions and 8 deletions

View File

@@ -63,6 +63,7 @@ func TestValidateProfile(t *testing.T) {
}{
{"", true},
{ProfileRuntimeDefault, true},
{ProfileNameUnconfined, true},
{"baz", false}, // Missing local prefix.
{ProfileNamePrefix + "/usr/sbin/ntpd", true},
{ProfileNamePrefix + "foo-bar", true},