diff --git a/tests/main/cgroup-tracking-failure/task.yaml b/tests/main/cgroup-tracking-failure/task.yaml index fae7c8d8a00..a7e3d0c3d11 100644 --- a/tests/main/cgroup-tracking-failure/task.yaml +++ b/tests/main/cgroup-tracking-failure/task.yaml @@ -183,7 +183,7 @@ execute: | SNAPD_DEBUG=1 tests.session -u root exec snap run test-snapd-sh.sh -c 'exec cat /proc/self/cgroup' >cgroup.txt 2>debug.txt tests.session -u root restore case "$SPREAD_SYSTEM" in - ubuntu-24*) + ubuntu-24*|ubuntu-25*) # Ubuntu >= 24.04 uses systemd-run instead of busctl to run commands using tests.session MATCH '0::/user.slice/user-0.slice/user@0.service/app.slice/snap.test-snapd-sh.sh.[0-9a-f-]+.scope' = 24.04 uses systemd-run instead of busctl to run commands using tests.session MATCH '0::/user.slice/user-12345.slice/user@12345.service/app.slice/snap.test-snapd-sh.sh.[0-9a-f-]+.scope'