qemu-iotests: Test snapshot=on with nonexistent TMPDIR
authorAlberto Garcia <berto@igalia.com>
Mon, 10 Sep 2018 09:29:23 +0000 (12:29 +0300)
committerKevin Wolf <kwolf@redhat.com>
Tue, 25 Sep 2018 13:50:15 +0000 (15:50 +0200)
commit6a7014ef22ad3cf9110ca0e178f73a67a6483e00
tree78097a39f3a098d8562a8738765f83901c859ac8
parent8961be33e8ca7e809c603223803ea66ef7ea5be7
qemu-iotests: Test snapshot=on with nonexistent TMPDIR

We just fixed a bug that was causing a use-after-free when QEMU was
unable to create a temporary snapshot. This is a test case for this
scenario.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/051
tests/qemu-iotests/051.out
tests/qemu-iotests/051.pc.out