Skip to content
Snippets Groups Projects
Commit 4677cc88 authored by Simon McVittie's avatar Simon McVittie
Browse files

apparmor-session-lockdown: allow dpkg-query -W apertis-tests to fail


This test is run from the source tree, so there's no guarantee
that this query will return anything.

Reviewed-by: default avatarPhilip Withnall <philip.withnall@collabora.co.uk>
Signed-off-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D3487
parent 7ffe91c5
No related branches found
No related tags found
No related merge requests found
......@@ -216,7 +216,7 @@ if __name__ == '__main__':
if os.getuid() != 0:
raise SystemExit('You must be root to run this test')
log_subprocess('dpkg-query', '-W', 'apertis-tests')
log_subprocess('dpkg-query', '-W', 'apertis-tests', may_fail=True)
log_subprocess('dpkg-query', '-W', 'apertis-tests-apparmor-report')
log_subprocess('dpkg-query', '-W', 'apparmor-utils')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment