mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
e262082018
since cgroup empty notifications are unreliable in legacy cgroups. See: systemd/systemd#22320 Complements: systemd/systemd#22344
15 lines
296 B
Bash
Executable File
15 lines
296 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
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 "$@"
|