From 6fec5d771ede7998ff395abd636d391c21163409 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Sat, 26 Jun 2021 15:13:03 -0500 Subject: [PATCH] perf-test: fix for verbose Signed-off-by: Felipe Contreras --- performance-test/perf-test-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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