Merge ~canonical-kernel-team/+git/autotest-client-tests:phlin/apparmor-liburing into ~canonical-kernel-team/+git/autotest-client-tests:master

Proposed by Po-Hsu Lin
Status: Merged
Merge reported by: Po-Hsu Lin
Merged at revision: 042385dd934dd75421234614002ac02864516fab
Proposed branch: ~canonical-kernel-team/+git/autotest-client-tests:phlin/apparmor-liburing
Merge into: ~canonical-kernel-team/+git/autotest-client-tests:master
Diff against target: 13 lines (+3/-0)
1 file modified
ubuntu_qrt_apparmor/ubuntu_qrt_apparmor.py (+3/-0)
Reviewer Review Type Date Requested Status
Sean Feole Approve
Review via email: mp+456055@code.launchpad.net

Commit message

BugLink: https://bugs.launchpad.net/bugs/2044230

The test_regression_testsuite in ubuntu_qrt_apparmor on Mantic will
need liburing-dev package to get more coverage, otherwise it will
complain about:

Makefile:180:
 ************************************************************************
 No liburing pkg-config skipping io_uring tests ...
 Install liburing-dev or equivalent package to build and run this test
 ************************************************************************

To post a comment you must log in.
Revision history for this message
Sean Feole (sfeole) wrote :

+1

review: Approve
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Applied and pushed, uncommitted changes removed, thanks!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/ubuntu_qrt_apparmor/ubuntu_qrt_apparmor.py b/ubuntu_qrt_apparmor/ubuntu_qrt_apparmor.py
2index ad5a4cd..6bb6c82 100644
3--- a/ubuntu_qrt_apparmor/ubuntu_qrt_apparmor.py
4+++ b/ubuntu_qrt_apparmor/ubuntu_qrt_apparmor.py
5@@ -62,6 +62,9 @@ class ubuntu_qrt_apparmor(test.test):
6 pkgs.append('python3-notify2')
7 pkgs.append('python3-psutil')
8
9+ if self.series not in ['trusty', 'xenial', 'bionic', 'focal', 'jammy', 'lunar']:
10+ pkgs.append('liburing-dev') # LP: #2044230
11+
12 cmd = 'yes "" | DEBIAN_FRONTEND=noninteractive apt-get install --yes --force-yes ' + ' '.join(pkgs)
13 self.results = utils.system_output(cmd, retain_output=True)
14

Subscribers

People subscribed via source and target branches

to all changes: