From: Sascha Silbe Date: Tue, 12 Apr 2016 14:56:20 +0000 (+0200) Subject: qemu-iotests: place valgrind log file in scratch dir X-Git-Tag: qemu-xen-4.8.0-rc1~317^2^2~4 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5f1525a685cfdb48cb8bd6d7495541b3a379640f;p=qemu-xen.git 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 Reviewed-by: Bo Tu Message-id: 1460472980-26319-5-git-send-email-silbe@linux.vnet.ibm.com Reviewed-by: Max Reitz Signed-off-by: Max Reitz --- diff --git a/tests/qemu-iotests/common.config b/tests/qemu-iotests/common.config index 60bfabf348..f824651bac 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