[apparmor] [patch] Use AATest and tmpdir for minitools test

Steve Beattie steve at nxnw.org
Fri Jun 26 23:13:58 UTC 2015


On Mon, Jun 15, 2015 at 12:33:03AM +0200, Christian Boltz wrote:
> this patch changes the minitools tests to use AATest and work inside 
> a tmpdir.
> 
> This results in lots of changes ('./profiles' -> self.profile_dir,
> local_profilename -> self.local_profilename etc.) and also moves some
> code from the global area to AASetup().
> 
> Also drop the no longer needed clean_profile_dir() and add linebreaks
> in assert* calls with a long error message specified.
> 
> 
> 
> [ 52-minitools_test-use-tempdir.diff ]

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

-- 
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/20150626/2d0dba15/attachment.pgp>


More information about the AppArmor mailing list