Public bug reported:
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
** Affects: qa-regression-testing
Importance: Undecided
Status: New
** Affects: ubuntu-kernel-tests
Importance: Undecided
Status: New
** Tags: trusty ubuntu-qrt-apparmor xenial
** Also affects: qa-regression-testing
Importance: Undecided
Status: New
--
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:
New
Status in ubuntu-kernel-tests:
New
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
--
Mailing list: https://launchpad.net/~canonical-ubuntu-qa
Post to : [email protected]
Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa
More help : https://help.launchpad.net/ListHelp