mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-29 22:35:15 +01:00
build: fix tests.
This commit is contained in:
parent
0bf068d3f2
commit
1eda41dbc6
1 changed files with 3 additions and 2 deletions
|
@ -21,10 +21,11 @@ func TestNewAppArmorProfile(t *testing.T) {
|
||||||
want: &AppArmorProfile{
|
want: &AppArmorProfile{
|
||||||
Content: "",
|
Content: "",
|
||||||
Variables: map[string][]string{
|
Variables: map[string][]string{
|
||||||
"libexec": {},
|
"bin": {"/{usr/,}{s,}bin"},
|
||||||
"etc_ro": {"/{usr/,}etc/"},
|
"lib": {"/{usr/,}lib{,exec,32,64}"},
|
||||||
"multiarch": {"*-linux-gnu*"},
|
"multiarch": {"*-linux-gnu*"},
|
||||||
"user_share_dirs": {"/home/*/.local/share"},
|
"user_share_dirs": {"/home/*/.local/share"},
|
||||||
|
"etc_ro": {"/{usr/,}etc/"},
|
||||||
},
|
},
|
||||||
Attachments: []string{},
|
Attachments: []string{},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue