diff --git a/.image-garden.mk b/.image-garden.mk index bd12d1a4f..19cc2ded1 100644 --- a/.image-garden.mk +++ b/.image-garden.mk @@ -35,6 +35,7 @@ packages: - python3-tk - python3-ttkthemes - swig +- tinyproxy - toybox endef diff --git a/tests/profiles/tinyproxy/task.yaml b/tests/profiles/tinyproxy/task.yaml new file mode 100644 index 000000000..6c61b662c --- /dev/null +++ b/tests/profiles/tinyproxy/task.yaml @@ -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)'