tests: skip tests when cg_pid_get_path fails (#7033)
v2: - cast the fstype_t type to ull, because it varies between arches. Making it long long should be on the safe side.
This commit is contained in:
committed by
GitHub
parent
b74023db06
commit
651d47d14b
@@ -2456,8 +2456,11 @@ static int cg_unified_update(void) {
|
||||
return -ENOMEDIUM;
|
||||
unified_cache = CGROUP_UNIFIED_NONE;
|
||||
}
|
||||
} else
|
||||
} else {
|
||||
log_debug("Unknown filesystem type %llx mounted on /sys/fs/cgroup.",
|
||||
(unsigned long long) fs.f_type);
|
||||
return -ENOMEDIUM;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user