From d0358c75d815ef409dc1fffddd6a1219432f42e8 Mon Sep 17 00:00:00 2001 From: oech3 <> Date: Sat, 20 Dec 2025 23:35:03 +0900 Subject: [PATCH] build-gnu.sh: Don't force-enable tests --- util/build-gnu.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 25ff4cc6a23..42b714ac7be 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -5,7 +5,6 @@ # spell-checker:ignore (paths) abmon deref discrim eacces getlimits getopt ginstall inacc infloop inotify reflink ; (misc) INT_OFLOW OFLOW # spell-checker:ignore baddecode submodules xstrtol distros ; (vars/env) SRCDIR vdir rcexp xpart dired OSTYPE ; (utils) greadlink gsed multihardlink texinfo CARGOFLAGS # spell-checker:ignore openat TOCTOU CFLAGS -# spell-checker:ignore hfsplus casefold chattr set -e @@ -128,7 +127,7 @@ else "${SED}" -i 's|check-texinfo: $(syntax_checks)|check-texinfo:|' doc/local.mk # Use CFLAGS for best build time since we discard GNU coreutils CFLAGS="${CFLAGS} -pipe -O0 -s" ./configure -C --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references \ - --enable-single-binary=symlinks \ + --enable-single-binary=symlinks --enable-install-program="arch,kill,uptime,hostname" \ "$([ "${SELINUX_ENABLED}" = 1 ] && echo --with-selinux || echo --without-selinux)" #Add timeout to to protect against hangs "${SED}" -i 's|^"\$@|'"${SYSTEM_TIMEOUT}"' 600 "\$@|' build-aux/test-driver @@ -249,9 +248,6 @@ sed -i -e "s|---dis ||g" tests/tail/overlay-headers.sh "${SED}" -i "s/ {ERR=>\"\$prog: foobar\\\\n\" \. \$try_help }/ {ERR=>\"error: unexpected argument '--foobar' found\n\n tip: to pass '--foobar' as a value, use '-- --foobar'\n\nUsage: basenc [OPTION]... [FILE]\n\nFor more information, try '--help'.\n\"}]/" tests/basenc/basenc.pl "${SED}" -i "s/ {ERR_SUBST=>\"s\/(unrecognized|unknown) option \[-' \]\*foobar\[' \]\*\/foobar\/\"}],//" tests/basenc/basenc.pl -# Remove the check whether a util was built. Otherwise tests against utils like "arch" are not run. -"${SED}" -i "s|require_built_ |# require_built_ |g" init.cfg - # exit early for the selinux check. The first is enough for us. "${SED}" -i "s|# Independent of whether SELinux|return 0\n #|g" init.cfg