Commit 5f1525a6 authored by Sascha Silbe's avatar Sascha Silbe Committed by Max Reitz
Browse files

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: default avatarSascha Silbe <silbe@linux.vnet.ibm.com>
Reviewed-by: default avatarBo Tu <tubo@linux.vnet.ibm.com>
Message-id: 1460472980-26319-5-git-send-email-silbe@linux.vnet.ibm.com
Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
parent 339f06a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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