]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: skip tests if cgroup isn't mounted
authorDan Streetman <ddstreet@canonical.com>
Wed, 24 Feb 2021 12:29:15 +0000 (07:29 -0500)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 25 Feb 2021 07:32:04 +0000 (16:32 +0900)
commitb66789a9b5d4127d8a8065d47b7ec13e2f01e33a
tree21083126cc6d1a307f5987269a8b3a9902fdba75
parenta437c5e4da666d16f15649461ce45e0e6d735148
test: skip tests if cgroup isn't mounted

Debian builds in a chroot without cgroup mounted, so tests expecting
to access cgroup will fail with ENOMEDIUM, so skip the tests in that
situation.
src/test/test-cgroup-util.c
src/test/test-cgroup.c
src/test/test-condition.c