]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: nproc: fix false failure on some systems
authorPádraig Brady <P@draigBrady.com>
Sun, 24 Aug 2025 10:41:01 +0000 (11:41 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 24 Aug 2025 10:48:52 +0000 (11:48 +0100)
commit4bfcf62f74b38d762ee06ceef582c326023635a9
treedc18ca0765c68fa644d1d9f27d6b6b5de5d38f60
parent11a31296fa88855e68a7ddbe01fe2b12286fa5a0
tests: nproc: fix false failure on some systems

* tests/nproc/nproc-quota.sh: Also simulate sched_getscheduler()
as this will not be called on older or non linux, or
may return ENOSYS on Alpine.
Fixes https://bugs.gnu.org/79299
tests/nproc/nproc-quota.sh