Skip to content
Snippets Groups Projects
Commit 6fe021c5 authored by Luis Araujo's avatar Luis Araujo
Browse files

Merge branch 'wip/andrunko/T5551' into 'master'

Update apparmor-tumbler with new instructions

See merge request tests/apertis-tests-cases!1
parents dc8c5d86 e24d2979
No related branches found
No related tags found
No related merge requests found
...@@ -8,10 +8,12 @@ metadata: ...@@ -8,10 +8,12 @@ metadata:
priority: medium priority: medium
maintainer: "Apertis Project" maintainer: "Apertis Project"
description: "Tests that the tumbler profile doesn't cause false negatives and description: "Tests that the tumbler AppArmor profile doesn't cause false negatives and
that it does not allow arbitrary reading of files in the home that it does not allow arbitrary reading of files in the home
directory." directory."
macro_ostree_preconditions: apparmor-tumbler
expected: expected:
- "Both tests should report pass and not fail:" - "Both tests should report pass and not fail:"
- | - |
...@@ -21,23 +23,13 @@ metadata: ...@@ -21,23 +23,13 @@ metadata:
notes: notes:
- "The results of the tests printed to the standard output are enough to - "The results of the tests printed to the standard output are enough to
determine whether they passed or fail." determine whether they passed or fail."
- "If you get a failure and need to report a bug please run sudo watch-aa on - "If you get a failure and need to report a bug please check journalctl, run
a terminal and run the case that is failing (separately, if both), and add the test case again, and add the logs you get to the bug report."
the logs you get to the bug report."
install:
deps:
- bash
- busybox
- apertis-tests-apparmor-report
- apertis-tests-apparmor-tumbler
run: run:
steps: steps:
- "# Execute the following commands:" - "# Execute the following commands:"
- echo -n | sudo tee /var/log/audit/audit.log - common/run-test-in-systemd --name run-test-sh --timeout 900 ./run-test.sh
- common/run-test-in-systemd --name run-test-tumbler --timeout 900 apparmor/tumbler/test-tumbler
- sudo cat /var/log/audit/audit.log | aa_log_extract_tokens.pl PERMITTING REJECTING
parse: parse:
fixupdict: fixupdict:
......
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