aboutsummaryrefslogtreecommitdiff
path: root/performance-test
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-03-18 13:34:32 -0300
committerDavid Bremner <david@tethera.net>2017-03-18 13:34:32 -0300
commit0c8ce66ef4645e84887884fb5669fe158172f426 (patch)
treea004cc7d42bf4b790033851a8ce85e6792e2da44 /performance-test
parent9c3a27dee949f76ad4780c716142c22cd9ba4911 (diff)
perf-test: use 'eval' in memory_run
This allows the use of redirection in the tests
Diffstat (limited to 'performance-test')
-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 00d2f1c6..c89d5aab 100644
--- a/performance-test/perf-test-lib.sh
+++ b/performance-test/perf-test-lib.sh
@@ -149,7 +149,7 @@ memory_run ()
printf "[ %d ]\t%s\n" $test_count "$1"
- NOTMUCH_TALLOC_REPORT="$talloc_log" valgrind --leak-check=full --log-file="$log_file" $2
+ NOTMUCH_TALLOC_REPORT="$talloc_log" eval "valgrind --leak-check=full --log-file='$log_file' $2"
awk '/LEAK SUMMARY/,/suppressed/ { sub(/^==[0-9]*==/," "); print }' "$log_file"
echo