← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2033379] Re: test_aa_status_json test in ubuntu_qrt_apparmor does not work with T/X

 

Test restarted and passed.

** Changed in: qa-regression-testing
       Status: In Progress => Fix Released

** Changed in: ubuntu-kernel-tests
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2033379

Title:
  test_aa_status_json test in ubuntu_qrt_apparmor does not work with T/X

Status in QA Regression Testing:
  Fix Released
Status in ubuntu-kernel-tests:
  Fix Released

Bug description:
  This is new test case added on Aug. 25
  https://git.launchpad.net/qa-regression-testing/commit/?id=897c6166e61503475b878f00560b10847e9b1469

  However on older releases aa-status does not have "--json" option

  Thus the test will fail with:
  $ aa-status --json
  Error: Invalid command.
  Usage: /usr/sbin/aa-status [OPTIONS]
  Displays various information about the currently loaded AppArmor policy.
  OPTIONS (one only):
    --enabled       returns error code if AppArmor not enabled
    --profiled      prints the number of loaded policies
    --enforced      prints the number of loaded enforcing policies
    --complaining   prints the number of loaded non-enforcing policies
    --verbose       (default) displays multiple data points about loaded policy set
    --help          this message

To manage notifications about this bug go to:
https://bugs.launchpad.net/qa-regression-testing/+bug/2033379/+subscriptions



References