From 1eda41dbc695bddfbc4690ca03c25b94423b7e2d Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 9 Jul 2023 15:32:39 +0100 Subject: [PATCH] build: fix tests. --- pkg/aa/profile_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/aa/profile_test.go b/pkg/aa/profile_test.go index c66f793c..9a47bc8f 100644 --- a/pkg/aa/profile_test.go +++ b/pkg/aa/profile_test.go @@ -21,10 +21,11 @@ func TestNewAppArmorProfile(t *testing.T) { want: &AppArmorProfile{ Content: "", Variables: map[string][]string{ - "libexec": {}, - "etc_ro": {"/{usr/,}etc/"}, + "bin": {"/{usr/,}{s,}bin"}, + "lib": {"/{usr/,}lib{,exec,32,64}"}, "multiarch": {"*-linux-gnu*"}, "user_share_dirs": {"/home/*/.local/share"}, + "etc_ro": {"/{usr/,}etc/"}, }, Attachments: []string{}, },