mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Ignore test failures about duplicated conditionals in dbus rules
Since r3634, the tools allow any order of dbus conditionals. Quoting the r3634 patch description: This patch eases the restriction on the ordering at the expense of the utils no longer being able to detect and reject a single attribute that is repeated multiple times. In that situation, only the last occurrence of the attribute will be honored by the utils. It seems nobody tested with all test profiles generated ;-) so we have to add some exceptions to the "does not raise an exception" list now. Acked-by <timeout> for trunk and 2.11
This commit is contained in:
parent
4b364b82f0
commit
00bec36bed
1 changed files with 9 additions and 0 deletions
|
@ -49,6 +49,15 @@ exception_not_raised = [
|
|||
'change_profile/onx_conflict_unsafe1.sd',
|
||||
'change_profile/onx_conflict_unsafe2.sd',
|
||||
|
||||
# duplicated conditionals aren't detected by the tools
|
||||
'generated_dbus/duplicated-conditionals-45127.sd',
|
||||
'generated_dbus/duplicated-conditionals-45131.sd',
|
||||
'generated_dbus/duplicated-conditionals-45124.sd',
|
||||
'generated_dbus/duplicated-conditionals-45130.sd',
|
||||
'generated_dbus/duplicated-conditionals-45125.sd',
|
||||
'generated_dbus/duplicated-conditionals-45128.sd',
|
||||
'generated_dbus/duplicated-conditionals-45129.sd',
|
||||
|
||||
'dbus/bad_modifier_2.sd',
|
||||
'dbus/bad_regex_01.sd',
|
||||
'dbus/bad_regex_02.sd',
|
||||
|
|
Loading…
Add table
Reference in a new issue