Re: [apparmor] [patch] add tests for set_profile_flags() (and some fun)

2015-04-01 Thread Steve Beattie
On Fri, Mar 06, 2015 at 09:03:46PM +0100, Christian Boltz wrote: Am Donnerstag, 5. März 2015 schrieb Christian Boltz: this patch adds various tests for set_profile_flags, and documents various interesting[tm] things I discovered while writing the tests (see the inline comments for

Re: [apparmor] [patch] add tests for set_profile_flags() (and some fun)

2015-03-06 Thread Christian Boltz
Hello, Am Donnerstag, 5. März 2015 schrieb Christian Boltz: this patch adds various tests for set_profile_flags, and documents various interesting[tm] things I discovered while writing the tests (see the inline comments for details). Here's v2 - _run_tests() is a bit longer now, but it has

[apparmor] [patch] add tests for set_profile_flags() (and some fun)

2015-03-05 Thread Christian Boltz
Hello, this patch adds various tests for set_profile_flags, and documents various interesting[tm] things I discovered while writing the tests (see the inline comments for details). The most interesting[tm] thing I found is: regex_hat_flag = re.compile('^([a-z]*)\s+([A-Z]*)\s*(#.*)?$') I