build: fix tests.

This commit is contained in:
Alexandre Pujol 2023-07-09 15:32:39 +01:00
parent 0bf068d3f2
commit 1eda41dbc6
Failed to generate hash of commit

View file

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