tests/profiles/tinyproxy: add spread smoke test for tinyproxy

Signed-off-by: Alex Murray <alex.murray@canonical.com>
This commit is contained in:
Alex Murray 2025-02-04 16:44:37 +10:30
parent 861be3904b
commit 8729c65bfe
Failed to generate hash of commit
2 changed files with 11 additions and 0 deletions

View file

@ -35,6 +35,7 @@ packages:
- python3-tk
- python3-ttkthemes
- swig
- tinyproxy
- toybox
endef

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