Use `sudo journalctl` for non-privileged user in AA tests
Access to system journal is restricted for user after switching to
Debian. AppArmor tests need to check system log with journalctl but
without proper permissions they fail.
Adding sudo for non-root users allows to check the log entries and
compare the output with expected.
Signed-off-by:
Denis Pynkin <denis.pynkin@collabora.com>
Please register or sign in to comment