2
0
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:
Ryan Lee 2025-04-16 16:49:52 -07:00
parent 35275230a8
commit 4094bc1a05

View 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\)'