diff options
author | Thomas Haller <thaller@redhat.com> | 2015-12-05 20:21:55 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-12-05 20:36:24 +0100 |
commit | a89feb474bbe4635e5e8d4363951fe9ae981d6f0 (patch) | |
tree | 037286976fb37b9226eff353b398d308930ad6ab | |
parent | 83f4c1c9bf3f86b1f08a6f3f187df1f3987b103d (diff) | |
download | NetworkManager-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-x | tools/run-test-valgrind.sh | 2 |
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 |