]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/test/test-cgroup-util.c
tests: Skip test-cgroup-util test_mask_supported() when not running under systemd 1182/head
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 7 Sep 2015 06:09:13 +0000 (08:09 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 7 Sep 2015 06:09:13 +0000 (08:09 +0200)
commitb3a7ba896851708cce0e5026a814007fbb11b4cd
tree390b6f3a20cbb759a1168a1831204240336b398b
parent9ec0fc9a3959b6d82fd2d4c4ef515e7953aaae6b
tests: Skip test-cgroup-util test_mask_supported() when not running under systemd

Commit 5f4c5fef6 introduced this new test case, but this does not work in
build chroots where cgroupfs is not mounted. So skip the test if systemd is not
running.
src/test/test-cgroup-util.c