diff --git a/src/VirtualClient/VirtualClient.Actions/Lzbench/lzbenchexecutor.sh b/src/VirtualClient/VirtualClient.Actions/Lzbench/lzbenchexecutor.sh index a2dcd274a6..79473bacf6 100644 --- a/src/VirtualClient/VirtualClient.Actions/Lzbench/lzbenchexecutor.sh +++ b/src/VirtualClient/VirtualClient.Actions/Lzbench/lzbenchexecutor.sh @@ -1,5 +1,8 @@ #!/bin/bash echo $1 -./lzbench $1 > results-summary.csv +# Use stdbuf to force line-buffered stdout so CSV data is flushed incrementally +# to disk rather than held in a full-buffer until process exit. Without this, +# a timeout-based kill loses all buffered output (especially on ARM64). +stdbuf -oL ./lzbench $1 > results-summary.csv