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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user