[apparmor] [patch] Move test_parse_modifiers_invalid() to test-baserule.py

2015-04-19 Thread Christian Boltz
Hello, test_parse_modifiers_invalid() uses a hand-broken ;-) regex to parse only the allow/deny/audit keywords. This test applies to all rule types and doesn't contain anything specific to capability or other rules, therefore it should live in test-baserule.py. Moving that test also means to

Re: [apparmor] [patch 2/3] Add tests for NetworkRule and NetworkRuleset

2015-04-19 Thread Christian Boltz
Hello, Am Sonntag, 19. April 2015 schrieb Kshitij Gupta: On Sat, Apr 18, 2015 at 2:51 AM, Christian Boltz wrote: Am Dienstag, 14. April 2015 schrieb Christian Boltz: this patch adds utils/test/test-network.py with tests for NetworkRule and NetworkRuleset. The tests are

Re: [apparmor] [patch] Fix serialize_profile_from_old_profiles() to not crash on @{var} +=

2015-04-19 Thread Christian Boltz
Hello, Am Mittwoch, 15. April 2015 schrieb Steve Beattie: FYI, even with this patch and patch 33 applied, the tools will still crash when parsing a profile that extends an existing variable that's defined in an include file (like something under tunables/) like so: # Last Modified: Wed