]>
git.proxmox.com Git - systemd.git/blob - test/TEST-19-DELEGATE/test.sh
2 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
3 # ex: ts=8 sw=4 sts=4 et filetype=sh
5 TEST_DESCRIPTION
="test cgroup delegation in the unifier hierarchy"
8 .
$TEST_BASE_DIR/test-functions
10 UNIFIED_CGROUP_HIERARCHY
=yes
14 mkdir
-p $TESTDIR/root
15 mount
${LOOPDEV}p1
$TESTDIR/root
19 eval $
(udevadm info
--export --query=env
--name=${LOOPDEV}p2
)
21 setup_basic_environment
23 # setup the testsuite service
24 cat >$initdir/etc
/systemd
/system
/testsuite.service
<<EOF
26 Description=Testsuite service
29 ExecStart=/bin/bash -x /testsuite.sh
34 cp testsuite.sh
$initdir/
39 ddebug
"umount $TESTDIR/root"