summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/043
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/043')
-rwxr-xr-xtests/qemu-iotests/0434
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/qemu-iotests/043 b/tests/qemu-iotests/043
index 67cc7e74c2..b102e49208 100755
--- a/tests/qemu-iotests/043
+++ b/tests/qemu-iotests/043
@@ -29,7 +29,9 @@ status=1 # failure is the default!
_cleanup()
{
_cleanup_test_img
- rm -f "$TEST_IMG".[123].base
+ for img in "$TEST_IMG".[123].base; do
+ _rm_test_img "$img"
+ done
}
trap "_cleanup; exit \$status" 0 1 2 3 15