mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
added basic integration test
This commit is contained in:
parent
61d5f1a56f
commit
ec2c363125
9
tests/profiles/lsusb/task.yaml
Normal file
9
tests/profiles/lsusb/task.yaml
Normal 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\)'
|
Loading…
x
Reference in New Issue
Block a user