mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
profiles: add a smoke test for the who profile
Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
parent
35275230a8
commit
4094bc1a05
7
tests/profiles/who/task.yaml
Normal file
7
tests/profiles/who/task.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
summary: smoke test for the who profile
|
||||
execute: |
|
||||
# who works when asked to grab everything
|
||||
who -a
|
||||
|
||||
# The profile is attached based on the program path.
|
||||
"$SPREAD_PATH"/tests/bin/actual-profile-of who | MATCH 'who \(enforce\)'
|
Loading…
x
Reference in New Issue
Block a user