Received: from eggs.gnu.org ([2001:4830:134:3::10]:37738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apzk8-0007Py-BT for qemu-devel@nongnu.org; Tue, 12 Apr 2016 10:56:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apzk0-0002Ud-IK for qemu-devel@nongnu.org; Tue, 12 Apr 2016 10:56:40 -0400 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:56922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apzk0-0002TF-8j for qemu-devel@nongnu.org; Tue, 12 Apr 2016 10:56:32 -0400 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 12 Apr 2016 15:56:29 +0100 From: Sascha Silbe Date: Tue, 12 Apr 2016 16:56:20 +0200 Message-Id: <1460472980-26319-5-git-send-email-silbe@linux.vnet.ibm.com> In-Reply-To: <1460472980-26319-1-git-send-email-silbe@linux.vnet.ibm.com> References: <1460472980-26319-1-git-send-email-silbe@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 4/4] qemu-iotests: place valgrind log file in scratch dir List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-block@nongnu.org, Kevin Wolf , Max Reitz Cc: Tu Bo 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 --- tests/qemu-iotests/common.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.9.1