mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
tests: add smoke test for lsblk
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Signed-off-by: Hlib Korzhynskyy <hlib.korzhynskyy@canonical.com>
This commit is contained in:
parent
cd1dddc222
commit
c6545b44bb
1 changed files with 7 additions and 0 deletions
7
tests/profiles/lsblk/task.yaml
Normal file
7
tests/profiles/lsblk/task.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
summary: smoke test for the lsblk profile
|
||||||
|
execute: |
|
||||||
|
# The lsblk program seems to work.
|
||||||
|
lsblk | MATCH vda1
|
||||||
|
|
||||||
|
# The profile is attached based on the program path.
|
||||||
|
"$SPREAD_PATH"/tests/bin/actual-profile-of lsblk | MATCH 'lsblk \(enforce\)'
|
Loading…
Add table
Reference in a new issue