fix(test): aa-log unit tests.

This commit is contained in:
Alexandre Pujol 2023-10-01 19:12:27 +01:00
parent 5b74cb665f
commit a4033f7950
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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>