Bruno Haible via GNU coreutils Bug Reports <bug-coreutils@gnu.org>
writes:
> Today's CI run produces a
> FAIL: tests/nproc/nproc-quota
> on CentOS 7 and on Alpine Linux.
>
> Here are the two relevant log file portions.
Thanks. The Alpine one fails because sched_getscheduler is a stub that
always fails. I'm fine with just skipping that one with the attached
patch. This causes cpu_quota to always return ULONG_MAX.
The CentOS 7 one fails because SCHED_DEADLINE is not defined by
sched.h. But it is defined in linux/sched.h. The second patch, which is
for Gnulib, fixed it in my CentOS 7 container.
Will let others check before pushing. I don't know much about cgroups
and whether CentOS 7 is too old for this test to matter.
Collin