aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/141
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/141')
-rwxr-xr-xtests/qemu-iotests/1414
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/qemu-iotests/141 b/tests/qemu-iotests/141
index 8c2ae79f2b..5192d256e3 100755
--- a/tests/qemu-iotests/141
+++ b/tests/qemu-iotests/141
@@ -30,7 +30,9 @@ _cleanup()
{
_cleanup_qemu
_cleanup_test_img
- rm -f "$TEST_DIR"/{b,m,o}.$IMGFMT
+ for img in "$TEST_DIR"/{b,m,o}.$IMGFMT; do
+ _rm_test_img "$img"
+ done
}
trap "_cleanup; exit \$status" 0 1 2 3 15