[apparmor] [patch] Convert test-severity.py to use the AATest class

Steve Beattie steve at nxnw.org
Fri May 29 20:00:16 UTC 2015


On Sun, May 24, 2015 at 03:45:53PM +0200, Christian Boltz wrote:
> this patch simplifies test-severity.py a lot:
> - lots of test functions are replaced with tests[] arrays
> - tempdir handling and cleanup is now done automagically
> 
> Even if test-severity.py shrunk by 65 lines, all tests are still there.
> 
> There's even an addition - SeverityTestCap now additionally verifies the
> result of rank_capability().
> 
> For obvious reasons, this patch depends on 
> 14-severity-rename-handle_capability.diff and
> 15-severity-drop-CAP_prefix.diff
> 
> [ 16-test-severity-convert-to-AATest.diff ]

Acked-by: Steve Beattie <steve at nxnw.org>

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150529/38077afe/attachment.pgp>


More information about the AppArmor mailing list