mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-31 17:17:43 +03:00
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
This commit is contained in:
parent
f723740871
commit
e262082018
@ -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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user