summaryrefslogtreecommitdiff
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:36:24 +0100
commita89feb474bbe4635e5e8d4363951fe9ae981d6f0 (patch)
tree037286976fb37b9226eff353b398d308930ad6ab
parent83f4c1c9bf3f86b1f08a6f3f187df1f3987b103d (diff)
downloadNetworkManager-a89feb474bbe4635e5e8d4363951fe9ae981d6f0.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. (cherry picked from commit ce238a7074e1a4b78e6381ad02dbb1d17c035958)
-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