On 2/24/20 11:16 AM, Max Reitz wrote:
Some iotests leave behind some external data file when run for qcow2
with -o data_file.  Fix that.

Signed-off-by: Max Reitz <mre...@redhat.com>
---
  tests/qemu-iotests/085 | 1 +
  tests/qemu-iotests/087 | 6 ++++++
  tests/qemu-iotests/279 | 2 +-
  3 files changed, 8 insertions(+), 1 deletion(-)


I'd LOVE for someone to take on a GSOC project to finish the work Jeff Cody once proposed on having iotests run each test in its own dedicated directory, such that files are left behind on failure for easy investigation, and cleanup is a snap of just deleting that directory on success.

But until then, adding manual cleanup where we missed it is correct.

Reviewed-by: Eric Blake <ebl...@redhat.com>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org


Reply via email to