Skip to content
Snippets Groups Projects
Commit 693bb809 authored by Emanuele Aina's avatar Emanuele Aina
Browse files

Drop the audit.log reset steps


Most tests have been converted to use the system journal to check for audit
events, so there's no need to reset the audit.log anymore.

Resetting it is even harmful today since `auditd` is no longer shipped by
default on images, thus the step fails as the file and the directory that
should contain it do not exist.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent d0c43b9a
No related branches found
No related tags found
No related merge requests found
......@@ -54,8 +54,6 @@ run:
otherwise false-negative might occur."
- "Ensure Pulse Audio is activated:"
- "$ pactl stat"
- "Clean the audit.log file, so no old entries are evaluated:"
- "$ echo -n | sudo tee /var/log/audit/audit.log"
- "Get the bluetooth device address by running hcitool scan and in another
terminal, execute:"
- "$ /usr/lib/chaiwala-tests/bluez/test-avrcp.py -i hci0 <device_address>"
......
......@@ -54,7 +54,6 @@ run:
- "# Enter test directory:"
- cd apertis-tests
- "# Run the the following commands:"
- echo -n | sudo tee /var/log/audit/audit.log
- 'common/run-test-in-systemd --name=aa-enforce-test --timeout 90 -- sh /usr/lib/apparmor-utils-tests/aa-enforce-test.sh'
- 'common/run-test-in-systemd --name=apparmor_parser --timeout 90 -- sh /usr/lib/apparmor-utils-tests/apparmor_parser.sh'
- sudo journalctl -b -t audit -o cat | /usr/bin/aa_log_extract_tokens.sh ALLOWED DENIED
......
......@@ -38,7 +38,6 @@ run:
- "# Enter test directory:"
- cd apertis-tests
- "# Execute the following commands:"
- echo -n | sudo tee /var/log/audit/audit.log
- common/run-test-in-systemd --user=user sdk/telepathy-ring-automated.sh
- sudo journalctl -b -t audit -o cat | /usr/bin/aa_log_extract_tokens.sh ALLOWED DENIED
......
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