From: Felipe Contreras Date: Sat, 26 Jun 2021 20:13:03 +0000 (-0500) Subject: perf-test: fix for verbose X-Git-Tag: archive/debian/0.33_rc0-1~14 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=6fec5d771ede7998ff395abd636d391c21163409 perf-test: fix for verbose Signed-off-by: Felipe Contreras --- diff --git a/performance-test/perf-test-lib.sh b/performance-test/perf-test-lib.sh index e7c502b6..41b1ddfd 100644 --- a/performance-test/perf-test-lib.sh +++ b/performance-test/perf-test-lib.sh @@ -212,7 +212,7 @@ time_run () { printf " %-22s" "$1" test_count=$(($test_count+1)) - if test "$verbose" != "t"; then exec 4>test.output 3>&4; fi + if test "$verbose" != "t"; then exec 4>test.output 3>&4; else exec 3>&1; fi if [[ "$use_perf" = 1 ]]; then command_str="perf record --call-graph=${perf_callgraph} -o ${log_dir}/${test_count}.perf $2" else