On 8/20/20 4:29 PM, Eric Blake wrote:
On 8/20/20 4:19 PM, Nir Soffer wrote:
If os.remove() fails to remove one of the paths, for example if the file
was removed by the test, the cleanup loop would exit silently, without
removing the rest of the files.
Signed-off-by: Nir Soffer <nsof...@redhat.com>
---
dtc | 2 +-
tests/qemu-iotests/iotests.py | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
Reviewed-by: Eric Blake <ebl...@redhat.com>
By the way, what test did you hit this on? If possible, I'd like to add
a Fixes: tag pointing to a commit that includes the problem.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org