mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-03 16:04:44 +01:00
tests/profiles/tinyproxy: add spread smoke test for tinyproxy
Signed-off-by: Alex Murray <alex.murray@canonical.com>
This commit is contained in:
parent
861be3904b
commit
8729c65bfe
2 changed files with 11 additions and 0 deletions
|
@ -35,6 +35,7 @@ packages:
|
|||
- python3-tk
|
||||
- python3-ttkthemes
|
||||
- swig
|
||||
- tinyproxy
|
||||
- toybox
|
||||
endef
|
||||
|
||||
|
|
10
tests/profiles/tinyproxy/task.yaml
Normal file
10
tests/profiles/tinyproxy/task.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
summary: smoke test for the tinyproxy profile
|
||||
execute: |
|
||||
# enable tinyproxy service
|
||||
systemctl start tinyproxy
|
||||
|
||||
# check is running
|
||||
systemctl is-active tinyproxy
|
||||
|
||||
# tinyproxy system service is confined
|
||||
cat /proc/$(pidof tinyproxy)/attr/apparmor/current | MATCH 'tinyproxy (enforce)'
|
Loading…
Add table
Reference in a new issue