Re: [apparmor] [patch] Add tests for aa.py get_output() and get_reqs()

2016-02-21 Thread Kshitij Gupta
Hello, On Tue, Feb 2, 2016 at 2:00 AM, Christian Boltz wrote: > Hello, > > Am Montag, 1. Februar 2016, 11:50:49 CET schrieb Seth Arnold: > > On Mon, Feb 01, 2016 at 07:35:07PM +0100, Christian Boltz wrote: > > > --- utils/test/test-aa.py 2016-01-26 22:22:14.660008000

Re: [apparmor] [patch] Add tests for aa.py get_output() and get_reqs()

2016-02-01 Thread Seth Arnold
On Mon, Feb 01, 2016 at 07:35:07PM +0100, Christian Boltz wrote: > --- utils/test/test-aa.py 2016-01-26 22:22:14.660008000 +0100 > +++ utils/test/test-aa.py 2016-02-01 18:53:10.085684909 +0100 > @@ -14,8 +14,9 @@ > from common_test import read_file, write_file > > import os > >

Re: [apparmor] [patch] Add tests for aa.py get_output() and get_reqs()

2016-02-01 Thread Christian Boltz
Hello, Am Montag, 1. Februar 2016, 11:50:49 CET schrieb Seth Arnold: > On Mon, Feb 01, 2016 at 07:35:07PM +0100, Christian Boltz wrote: > > --- utils/test/test-aa.py 2016-01-26 22:22:14.660008000 +0100 > > +++ utils/test/test-aa.py 2016-02-01 18:53:10.085684909 +0100 > > +import

[apparmor] [patch] Add tests for aa.py get_output() and get_reqs()

2016-02-01 Thread Christian Boltz
Hello, $subject. To make these tests independent from the underlaying system, add a fake_ldd script that provides hardcoded ldd output for the "known" executables and libraries. To avoid interferences with the real system (especially symlinks), all paths in fake_ldd have '/AATest' prepended.