canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #01165
[Bug 2033379] Re: test_aa_status_json test in ubuntu_qrt_apparmor does not work with T/X
** Changed in: qa-regression-testing
Status: New => In Progress
** Changed in: qa-regression-testing
Assignee: (unassigned) => Po-Hsu Lin (cypressyew)
** Changed in: ubuntu-kernel-tests
Assignee: (unassigned) => Po-Hsu Lin (cypressyew)
** Changed in: ubuntu-kernel-tests
Status: New => In Progress
** Merge proposal linked:
https://code.launchpad.net/~cypressyew/qa-regression-testing/+git/qa-regression-testing/+merge/450117
--
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:
In Progress
Status in ubuntu-kernel-tests:
In Progress
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