[apparmor] [PATCH 1/3] tests: Default to in-tree parser for regression tests
Tyler Hicks
tyhicks at canonical.com
Mon Jan 13 04:50:15 UTC 2014
On 2014-01-10 23:16:18, Steve Beattie wrote:
> On Fri, Jan 10, 2014 at 06:50:45PM -0600, Tyler Hicks wrote:
> > Change uservars.inc subdomain variable to use the in-tree parser by
> > default.
> >
> > Also, clean up some commented out subdomain values that don't look to be
> > in use any longer and add one commented out value pointing to the system
> > parser.
> >
> > Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
>
> Unfortunately, the longpath.sh test wants an absolute path to the
> parser. My solution for testing in-tree parsers has been:
>
> subdomain=${PWD}/../../../parser/apparmor_parser
>
> With this change, the patch gets an ack from me.
Sigh... I should have noticed the longpath.sh failure. Thanks for
pointing that out!
Tyler
>
> > diff --git a/tests/regression/apparmor/uservars.inc b/tests/regression/apparmor/uservars.inc
> > index 02fd516..a8647dc 100644
> > --- a/tests/regression/apparmor/uservars.inc
> > +++ b/tests/regression/apparmor/uservars.inc
> > @@ -1,7 +1,6 @@
> > # 1. Path to apparmor parser
> > -subdomain=/sbin/apparmor_parser
> > -#subdomain=/home/steve/svn/immunix/SubDomain/parser/subdomain_parser
> > -#subdomain=/home/tonyj/subdomain_parser
> > +subdomain=../../../parser/apparmor_parser
> > +#subdomain=/sbin/apparmor_parser
> >
> > # 2. additional arguments to the apparmor parser
> > parser_args="-q -K"
>
> --
> Steve Beattie
> <sbeattie at ubuntu.com>
> http://NxNW.org/~steve/
> --
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140112/965eb5db/attachment.pgp>
More information about the AppArmor
mailing list