2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 10:07:12 +00:00

added basic integration test

This commit is contained in:
Federico Quattrin 2025-01-31 09:10:38 -03:00 committed by Ryan Lee
parent 61d5f1a56f
commit ec2c363125

View File

@ -0,0 +1,9 @@
summary: smoke test for the lsusb profile
execute: |
# lsusb works (this is a very basic test).
# try printing the physical USB device hierarchy as a tree
lsusb -t
# be verbose
lsusb -v
# The profile is attached based on the program path.
"$SPREAD_PATH"/tests/bin/actual-profile-of lsusb | MATCH 'lsusb \(enforce\)'