]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 5237: "make check" fails when ${TRUE} is a multicall binary (#2442) master
authorRenan Rodrigo <rr@ubuntu.com>
Thu, 18 Jun 2026 15:04:35 +0000 (15:04 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 19 Jun 2026 03:24:26 +0000 (03:24 +0000)
commit562f2efa26e0e81e03110e253ed898c72daecf3f
tree8e726203fa9972448db759fab0afe71923e1f915
parent992fb27ec3de036c66ff7953e789d4318a85f3b6
Bug 5237: "make check" fails when ${TRUE} is a multicall binary (#2442)

testHeaders copies the 'true' binary to a file named testHeaders relying
on the fact that GNU's true always exits 0. When 'true' implementation
is a multicall binary (e.g., in rust-coreutils and on Alpine Linux), it
cannot be called by other name. Create an empty executable file instead.

squid-conf-tests also copied the 'true' binary, but that Makefile target
is never executed and, hence, should not create an executable file.
CONTRIBUTORS
src/TestHeaders.am
test-suite/Makefile.am