diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-02-01 20:25:00 +0100 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-02-01 22:13:48 +0100 |
commit | e2620820188428de7086f5e8ac41305177f70954 (patch) | |
tree | 59fbfa6b1bdea98a73f01224a20f84389c8a06a2 /test | |
parent | f723740871bd3eb89d16a526a1ff77c04bb3787a (diff) | |
download | systemd-e2620820188428de7086f5e8ac41305177f70954.tar.gz |
test: require unified cgroup hierarchy for TEST-56
since cgroup empty notifications are unreliable in legacy cgroups.
See: systemd/systemd#22320
Complements: systemd/systemd#22344
Diffstat (limited to 'test')
-rwxr-xr-x | test/TEST-56-EXIT-TYPE/test.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/TEST-56-EXIT-TYPE/test.sh b/test/TEST-56-EXIT-TYPE/test.sh index 0f84dca1ba..37475e817e 100755 --- a/test/TEST-56-EXIT-TYPE/test.sh +++ b/test/TEST-56-EXIT-TYPE/test.sh @@ -6,4 +6,9 @@ TEST_DESCRIPTION="test ExitType=cgroup" # shellcheck source=test/test-functions . "${TEST_BASE_DIR:?}/test-functions" +if [[ "$(get_cgroup_hierarchy)" != unified ]]; then + echo "This test requires unified cgroup hierarchy, skipping..." + exit 0 +fi + do_test "$@" |