aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/063
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/063')
-rwxr-xr-xtests/qemu-iotests/0636
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/qemu-iotests/063 b/tests/qemu-iotests/063
index 7cf0427af4..eef2b8a534 100755
--- a/tests/qemu-iotests/063
+++ b/tests/qemu-iotests/063
@@ -29,8 +29,10 @@ status=1 # failure is the default!
_cleanup()
{
- _cleanup_test_img
- rm -f "$TEST_IMG.orig" "$TEST_IMG.raw1" "$TEST_IMG.raw2"
+ _cleanup_test_img
+ for img in "$TEST_IMG".{orig,raw1,raw2,target}; do
+ _rm_test_img "$img"
+ done
}
trap "_cleanup; exit \$status" 0 1 2 3 15