qemu-iotests: check: don't place files with predictable names in /tmp
commit0145b4e130994fab778b38a490e7d72ffb740589
authorSascha Silbe <silbe@linux.vnet.ibm.com>
Tue, 5 Apr 2016 09:21:43 +0000 (5 11:21 +0200)
committerMax Reitz <mreitz@redhat.com>
Tue, 12 Apr 2016 16:07:39 +0000 (12 18:07 +0200)
tree71de54370e94d283af9c9e756366b6bcf074ba7f
parentc4189d85bcdaa27a9ec892146a652092fec704d0
qemu-iotests: check: don't place files with predictable names in /tmp

Placing files with predictable or even hard-coded names in /tmp is a
security risk and can prevent or disturb operation on a multi-user
machine. Place them inside the "scratch" directory instead, as we
already do for most other test-related files.

Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Reviewed-by: Bo Tu <tubo@linux.vnet.ibm.com>
Message-id: 1459848109-29756-2-git-send-email-silbe@linux.vnet.ibm.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/check