aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2021-06-26 15:13:03 -0500
committerDavid Bremner <david@tethera.net>2021-08-05 09:04:53 -0300
commit6fec5d771ede7998ff395abd636d391c21163409 (patch)
tree6ec44b8a4118c2e39102074a0edf598b137e0e07
parentc37c99126d4bf6909399d84455063e0ff0ee9b59 (diff)
perf-test: fix for verbose
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
-rw-r--r--performance-test/perf-test-lib.sh2
1 files changed, 1 insertions, 1 deletions
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