chore: cleanup test data.

This commit is contained in:
Alexandre Pujol 2023-09-29 20:10:38 +01:00
parent c7485326e8
commit d810acd58f
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 26 additions and 54 deletions

View file

@ -53,9 +53,8 @@ func TestAppArmorProfile_String(t *testing.T) {
},
Includes: []Include{
{
IfExists: false,
IsMagic: true,
Path: "tunables/global",
IsMagic: true,
Path: "tunables/global",
},
},
Aliases: []Alias{
@ -78,14 +77,12 @@ func TestAppArmorProfile_String(t *testing.T) {
Flags: []string{"complain", "attach_disconnected"},
Rules: []ApparmorRule{
&Include{
IfExists: false,
IsMagic: true,
Path: "abstractions/base",
IsMagic: true,
Path: "abstractions/base",
},
&Include{
IfExists: false,
IsMagic: true,
Path: "abstractions/nameservice-strict",
IsMagic: true,
Path: "abstractions/nameservice-strict",
},
&Rlimit{
Key: "nproc",