]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: ignore ENOMEDIUM error from sd_pid_get_cgroup()
authorDan Streetman <ddstreet@canonical.com>
Fri, 23 Oct 2020 19:50:28 +0000 (15:50 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 24 Oct 2020 11:34:01 +0000 (13:34 +0200)
commit352ab9d74049b4ac694fdba1a6e67339f12ded93
tree65ed7bf888ffaafe627005ba4ceba13c2a512173
parent377a9545e9984578646f3f3bd8924e4dd61b905f
test: ignore ENOMEDIUM error from sd_pid_get_cgroup()

Ubuntu builds on the Launchpad infrastructure run inside a chroot that does
not have the sysfs cgroup dirs mounted, so this call will return ENOMEDIUM
from cg_unified_cached() during the build-time testing, for example when
building the package in a Launchpad PPA.
src/libsystemd/sd-login/test-login.c