summaryrefslogtreecommitdiffstats
path: root/test/TEST-56-EXIT-TYPE/test.sh
blob: 37475e817e1028a67d27cb9bdaec9290bf728203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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 "$@"