From: Francesco Chemolli <5175948+kinkie@users.noreply.github.com> Date: Sat, 23 Sep 2023 16:16:42 +0000 (+0000) Subject: testheaders.sh: force-remove temporary files (#1487) X-Git-Tag: SQUID_7_0_1~348 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0f463598d2c42e02b6698c7a20c6f46247865851;p=thirdparty%2Fsquid.git testheaders.sh: force-remove temporary files (#1487) At high levels of build parallelism on systems using GNU coreutils, sometimes "make check" hangs on a request to confirm removal of a read-only file temporary file. Force-remove temporary test files to ensure removal is noniteractive. --- diff --git a/test-suite/testheaders.sh b/test-suite/testheaders.sh index 2bb55112d3..86edf4ea9c 100755 --- a/test-suite/testheaders.sh +++ b/test-suite/testheaders.sh @@ -41,7 +41,7 @@ EOF echo "Fail." exitCode=1 fi - rm $t.cc $t.o + rm -f $t.cc $t.o fi test $exitCode -eq 0 || break done