From 0efdbcf7915a89fd9d21e3648e0956b550336f8c Mon Sep 17 00:00:00 2001 From: oech3 <79379754+oech3@users.noreply.github.com> Date: Mon, 15 Jun 2026 22:14:09 +0900 Subject: [PATCH] build-gnu.sh: deduplicate nproc test --- util/build-gnu.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 40218a8d63c..951bdbac80a 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -153,8 +153,9 @@ else echo "strip t${i}.sh from Makefile and tests/local.mk" sed -i -e "s/\$(tf)\/t${i}.sh//g" Makefile tests/local.mk done - # Remove LD_PRELOAD implementation of no-mtab-status-masked-proc. not compatible with our binary - sed -i '/tests\/df\/no-mtab-status.sh/ D' Makefile + # Remove LD_PRELOAD implementation if equivalent tests are available + sed -i '/tests\/df\/no-mtab-status.sh/ D' Makefile # no-mtab-status-masked-proc + sed -i '/tests\/nproc\/nproc-quota.sh/ D' Makefile # nproc-quota-systemd # Remove tests checking for --version & --help # Not really interesting for us and logs are too big sed -i '/tests\/help\/help-version.sh/ D' Makefile