Skip to content
Snippets Groups Projects

Add aa-logprof test framework

Merged Christian Boltz requested to merge cboltz/apparmor:cboltz-test-logprof into master

... and a simple test for a single (fake) event for ping.

Notes:

  • to let aa-logprof work in the CI environment, we need to skip checking for the AppArmor mountpoint. Introduce --no-check-mountpoint for this.
  • PYTHONPATH and LD_LIBRARY_PATH need to be explicitely forwarded when starting aa-logprof via subprocess.Popen()
  • if the test runs with coverage enabled, it will also start aa-logprof with coverage (parameters copied from Makefile).

Speaking about coverage - this test adds 4% overall coverage, and 10% more coverage for apparmor/aa.py.

Edited by Christian Boltz

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading