summaryrefslogtreecommitdiffstats
path: root/src/test/test-cgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-cgroup.c')
-rw-r--r--src/test/test-cgroup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test-cgroup.c b/src/test/test-cgroup.c
index 8bd4af9..040e9e9 100644
--- a/src/test/test-cgroup.c
+++ b/src/test/test-cgroup.c
@@ -159,6 +159,8 @@ TEST(id) {
if (ERRNO_IS_NEG_PRIVILEGE(fd2))
log_notice("Skipping open-by-cgroup-id test because lacking privs.");
+ else if (ERRNO_IS_NEG_NOT_SUPPORTED(fd2))
+ log_notice("Skipping open-by-cgroup-id test because syscall is missing or blocked.");
else {
assert_se(fd2 >= 0);