apparmor/profiles
Steve Beattie f318def665
tests: fix profiles and utils tests to find and use the swig python libraries
The fixes that landed for #98 are incomplete: they only added a check to
ensure that the parser is built, and not libapparmor as well, and also
didn't adjust the invocation of aa-logprof to actually make use of the
built libapparmor or its swig python library.

Furthermore, neither it nor the tests in utils/ add the location of the
swig libapparmor C library to the library search path, meaning that if
the system one does not exist, it will not be found and the test will
fail.

Signed-off-by: Steve Beattie <steve.beattie@canonical.com>
Acked-by: John Johansen <john.johansen@canonical.com>
Bug: https://gitlab.com/apparmor/apparmor/-/issues/98
MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/586
2020-07-24 23:57:26 -07:00
..
apparmor/profiles/extras profiles: fix sbin.dhclient profile 2020-06-12 10:00:21 -07:00
apparmor.d Convert abstractions from /{usr/,}etc/ to @{etc_ro} 2020-07-23 20:51:25 +02:00
Makefile profiles/Makefile: fix aa-logprof invocation 2020-07-24 23:52:36 -07:00