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