mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
parser: add anon ip parser test
Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>
This commit is contained in:
parent
c9d54a021e
commit
e1405cba82
2 changed files with 12 additions and 0 deletions
11
parser/tst/simple_tests/network/network_ok_44.sd
Normal file
11
parser/tst/simple_tests/network/network_ok_44.sd
Normal file
|
@ -0,0 +1,11 @@
|
|||
#
|
||||
#=DESCRIPTION network anon ip conditional test
|
||||
#=EXRESULT PASS
|
||||
#
|
||||
/usr/bin/foo {
|
||||
network ip=anon,
|
||||
network peer=(ip=anon),
|
||||
network inet ip=anon peer=(ip=anon),
|
||||
network inet tcp ip=anon peer=(ip=anon),
|
||||
|
||||
}
|
|
@ -477,6 +477,7 @@ syntax_failure = (
|
|||
'network/network_ok_41.sd',
|
||||
'network/network_ok_42.sd',
|
||||
'network/network_ok_43.sd',
|
||||
'network/network_ok_44.sd',
|
||||
'network/perms/ok_accept_1.sd',
|
||||
'network/perms/ok_accept_2.sd',
|
||||
'network/perms/ok_attr_1.sd',
|
||||
|
|
Loading…
Add table
Reference in a new issue