mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
fix(test): aa-log unit tests.
This commit is contained in:
parent
5b74cb665f
commit
a4033f7950
@ -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…
Reference in New Issue
Block a user