mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
Append testcases from jjohansen@suse.de.
Acked-By: Steve Beattie <steve@nxnw.org>
This commit is contained in:
parent
6eedd28dc2
commit
4e0679ecc6
2 changed files with 21 additions and 0 deletions
8
parser/tst/simple_tests/simple_bad_append_1.sd
Normal file
8
parser/tst/simple_tests/simple_bad_append_1.sd
Normal file
|
@ -0,0 +1,8 @@
|
|||
#
|
||||
#=DESCRIPTION w and a conflict
|
||||
#=EXRESULT FAIL
|
||||
#
|
||||
/usr/bin/foo {
|
||||
/a wa,
|
||||
}
|
||||
|
13
parser/tst/simple_tests/simple_ok_append_1.sd
Normal file
13
parser/tst/simple_tests/simple_ok_append_1.sd
Normal file
|
@ -0,0 +1,13 @@
|
|||
#
|
||||
#=DESCRIPTION test append
|
||||
#=EXRESULT PASS
|
||||
#
|
||||
/usr/bin/foo {
|
||||
/bin/cat a,
|
||||
/bin/true ra,
|
||||
/bin/false ma,
|
||||
/lib/libc.so la,
|
||||
/bin/less ixa,
|
||||
/bin/more pxa,
|
||||
/a uxa,
|
||||
}
|
Loading…
Add table
Reference in a new issue