fix(test): aa-log unit tests.
This commit is contained in:
parent
5b74cb665f
commit
a4033f7950
2 changed files with 2 additions and 2 deletions
|
|
@ -321,7 +321,7 @@ func TestAppArmorProfile_Integration(t *testing.T) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
want: readprofile("apparmor.d/profiles-a-f/aa-status") + "\n",
|
want: readprofile("apparmor.d/profiles-a-f/aa-status"),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
for _, tt := range tests {
|
for _, tt := range tests {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ alias /mnt/usr -> /usr,
|
||||||
|
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = @{bin}/foo @{lib}/foo
|
@{exec_path} = @{bin}/foo @{lib}/foo
|
||||||
profile foo @{exec_path} xattrs=(security.tagged=allowed) flags=(complain attach_disconnected) {
|
profile foo @{exec_path} xattrs=(security.tagged=allowed) flags=(complain attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue