Correct the minimum temp space requirements since there are 2 input files and 2 output files, not 1 output file.

This commit is contained in:
Andrew Wood
2026-05-31 01:01:23 +01:00
parent 868a054366
commit 542c91cdbc
+1 -1
View File
@@ -224,7 +224,7 @@ runBenchmarks () {
# if not.
tmpSpaceMB="$(df -kP "${TMPDIR:-/tmp}" | awk 'FNR==2 {print int($4/1024)}')"
while test "${testFileMB}" -gt 4; do
test "${tmpSpaceMB}" -gt $((2+3*testFileMB)) && break
test "${tmpSpaceMB}" -gt $((2+4*testFileMB)) && break
testFileMB=$((testFileMB/2))
done