add test cases

Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
This commit is contained in:
Xianglin Gao 2016-12-01 21:15:47 +08:00
parent 06cc0ba6ba
commit bec3c3e2aa
5 changed files with 175 additions and 4 deletions

10
test/testdata/apparmor_test_deny_write vendored Normal file
View file

@ -0,0 +1,10 @@
#include <tunables/global>
profile apparmor-test-deny-write flags=(attach_disconnected) {
#include <abstractions/base>
file,
# Deny all file writes.
deny /** w,
}