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:
Zygmunt Krynicki 2025-01-23 13:29:38 +01:00 committed by Hlib Korzhynskyy
parent cd1dddc222
commit c6545b44bb

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