diff options
author | Sascha Silbe <silbe@linux.vnet.ibm.com> | 2016-04-12 16:56:20 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2016-04-15 17:56:56 +0200 |
commit | 5f1525a685cfdb48cb8bd6d7495541b3a379640f (patch) | |
tree | adb55004f4bf8cb37177134afba41857e307cf08 /tests/qemu-iotests/common.config | |
parent | 339f06a3bce1c020a08c9dbe1d8e78fb28166de1 (diff) | |
download | qemu-5f1525a685cfdb48cb8bd6d7495541b3a379640f.zip qemu-5f1525a685cfdb48cb8bd6d7495541b3a379640f.tar.gz qemu-5f1525a685cfdb48cb8bd6d7495541b3a379640f.tar.bz2 |
qemu-iotests: place valgrind log file in scratch dir
Do not place the valgrind log file at a predictable path in a
world-writable location. Use the common scratch directory (${TEST_DIR})
instead.
Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Reviewed-by: Bo Tu <tubo@linux.vnet.ibm.com>
Message-id: 1460472980-26319-5-git-send-email-silbe@linux.vnet.ibm.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/common.config')
-rw-r--r-- | tests/qemu-iotests/common.config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/common.config b/tests/qemu-iotests/common.config index 60bfabf..f824651 100644 --- a/tests/qemu-iotests/common.config +++ b/tests/qemu-iotests/common.config @@ -122,7 +122,7 @@ _qemu_img_wrapper() _qemu_io_wrapper() { - local VALGRIND_LOGFILE=/tmp/$$.valgrind + local VALGRIND_LOGFILE="${TEST_DIR}"/$$.valgrind local RETVAL ( if [ "${VALGRIND_QEMU}" == "y" ]; then |