summaryrefslogtreecommitdiff
diff options
authorMichael Vogt <mvo@ubuntu.com>2022-07-15 10:55:38 +0200
committerMichael Vogt <mvo@ubuntu.com>2022-07-15 10:56:11 +0200
commit4b99e5a2ea936b052989c885132c1e05e482c2b1 (patch)
tree01dc215c070493d5fc28486e43c6e28144d0eeec
parent4cb9ac6d86444e89744b70059a442cd7d77bebda (diff)
tests: skip check_cgroup_scopes on all ubuntu-core-16/ubuntu-16.04 archesinvariant-check-cgroups
-rwxr-xr-xtests/lib/tools/tests.invariant2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/tools/tests.invariant b/tests/lib/tools/tests.invariant
index 376133c4fc..63635dee55 100755
--- a/tests/lib/tools/tests.invariant
+++ b/tests/lib/tools/tests.invariant
@@ -145,7 +145,7 @@ check_broken_snaps() {
check_cgroup_scopes() {
# xenial has leftover scope files possibly due to an old systemd bug
# https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1934147
- if [ "$SPREAD_SYSTEM" == "ubuntu-core-16-64" ] || [ "$SPREAD_SYSTEM" == "ubuntu-16.04-64" ]; then
+ if [[ "$SPREAD_SYSTEM" == ubuntu-core-16-* ]] || [[ "$SPREAD_SYSTEM" == ubuntu-16.04-* ]]; then
return 0
fi