diff --git a/tests/qemu-iotests/common.config b/tests/qemu-iotests/common.config index 60bfabf348cfe5163ebf369473f615015e5aa795..f824651bac56e7cc8969a0456f2f5e5b3bc77dcf 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