]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: nproc: support referencing of external command
authoroech3 <79379754+oech3@users.noreply.github.com>
Fri, 3 Jul 2026 01:00:30 +0000 (10:00 +0900)
committerPádraig Brady <P@draigBrady.com>
Fri, 3 Jul 2026 09:51:57 +0000 (10:51 +0100)
commita463a6e6ee692d74833d05dec47840be550e2914
tree25cd05de85dba028c8c71fd0b26f6b9f256e8c6f
parentd73d2d1b3145eb583a441eb488aa052f77af9ce6
tests: nproc: support referencing of external command

* tests/nproc/nproc-quota.sh: Use command -v nproc instead of
$abs_top_builddir for external usage of tests.
Also quote "$nproc" usage, to support spaces in path.

Link: https://github.com/coreutils/coreutils/pull/310
tests/nproc/nproc-quota.sh