mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-03 15:55:46 +00:00
add keyword 'other' vim syntax support, plus language parsing tests
Signed-off-by: Steve Beattie <steve@nxnw.org> Acked-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
7
parser/tst/simple_tests/file/allow/ok_other_1.sd
Normal file
7
parser/tst/simple_tests/file/allow/ok_other_1.sd
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
#=DESCRIPTION simple allow other flag test
|
||||
#=EXRESULT PASS
|
||||
|
||||
profile test {
|
||||
allow other /tmp/** rw,
|
||||
}
|
||||
7
parser/tst/simple_tests/file/allow/ok_other_2.sd
Normal file
7
parser/tst/simple_tests/file/allow/ok_other_2.sd
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
#=DESCRIPTION simple audit allow other flag test
|
||||
#=EXRESULT PASS
|
||||
|
||||
profile test {
|
||||
audit allow other /tmp/** rw,
|
||||
}
|
||||
7
parser/tst/simple_tests/file/ok_other_2.sd
Normal file
7
parser/tst/simple_tests/file/ok_other_2.sd
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
#=DESCRIPTION simple deny other flag test
|
||||
#=EXRESULT PASS
|
||||
|
||||
profile test {
|
||||
deny other /tmp/** rw,
|
||||
}
|
||||
7
parser/tst/simple_tests/file/ok_other_3.sd
Normal file
7
parser/tst/simple_tests/file/ok_other_3.sd
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
#=DESCRIPTION simple other flag test
|
||||
#=EXRESULT PASS
|
||||
|
||||
profile test {
|
||||
audit other /tmp/** rw,
|
||||
}
|
||||
Reference in New Issue
Block a user