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

profiles: remove tests for the removed toybox profile

Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
Ryan Lee 2025-04-07 14:26:09 -07:00
parent f6042bf34d
commit aecb02a22e
2 changed files with 0 additions and 16 deletions

View File

@ -41,7 +41,6 @@ packages:
- python3-ttkthemes - python3-ttkthemes
- swig - swig
- tinyproxy - tinyproxy
- toybox
# Update all the packages. This allows us to be on the up-to-date kernel # Update all the packages. This allows us to be on the up-to-date kernel
# version that we cannot otherwise easily select with cloud init alone. Note # version that we cannot otherwise easily select with cloud init alone. Note
# that we do not need to reboot the system as image garden shuts down the image # that we do not need to reboot the system as image garden shuts down the image

View File

@ -1,15 +0,0 @@
summary: smoke test for the toybox profile
systems:
# Toybox is not packaged on openSUSE
- -opensuse-*
# Those fail with:
# Warning from profile toybox (/tmp/apparmor/profiles/apparmor.d/toybox): userns rules not enforced
# TODO: consider passing different options so that unavailable kernel features do not emit warnings.
- -debian-cloud-13
- -debian-cloud-12
execute: |
# Toybox works (this is a very basic test).
test "$(toybox id -u)" -eq 0
# The profile is attached based on the program path.
"$SPREAD_PATH"/tests/bin/actual-profile-of toybox | MATCH 'toybox \(unconfined\)'