summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-12-05 20:21:55 +0100
committerThomas Haller <thaller@redhat.com>2015-12-05 20:35:16 +0100
commitce238a7074e1a4b78e6381ad02dbb1d17c035958 (patch)
treeddccc2bf452d01e9f7c4241544bd2c0aa0239847 /tools
parent3acb6a366740086349aedca3a4e2b49709b77621 (diff)
downloadNetworkManager-ce238a7074e1a4b78e6381ad02dbb1d17c035958.tar.gz
tests/valgrind: rename name of logfile for valgrind run
Change the name of the file where to store the results of the valgrind run. Previously the file had a prefix "valgrind-", which is inconvinient. Instead, have the file using the same name as the test executable, with a ".valgrind-log" suffix.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run-test-valgrind.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run-test-valgrind.sh b/tools/run-test-valgrind.sh
index 424f633d06..4dc092a093 100755
--- a/tools/run-test-valgrind.sh
+++ b/tools/run-test-valgrind.sh
@@ -91,7 +91,7 @@ if [ "$NMTST_NO_VALGRIND" != "" ]; then
exit $?
fi
-LOGFILE="valgrind-`echo "$TEST" | tr -cd '[:alpha:]-'`.log"
+LOGFILE="${TEST}.valgrind-log"
export G_SLICE=always-malloc
export G_DEBUG=gc-friendly