aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-07-27 15:13:20 +0200
committerKevin Wolf <kwolf@redhat.com>2017-08-01 18:09:33 +0200
commit6a1e9096206f65525d1fec418b91d5ac82c77934 (patch)
treeaa18711ed70e26741d7496bc4fdc0a6ff6f0c84b /tests
parent0a1505d56a7811244d3cd59cece7cc2bd8286197 (diff)
downloadqemu-6a1e9096206f65525d1fec418b91d5ac82c77934.zip
qemu-6a1e9096206f65525d1fec418b91d5ac82c77934.tar.gz
qemu-6a1e9096206f65525d1fec418b91d5ac82c77934.tar.bz2
qemu-iotests/153: Fix leaked scratch images
qemu-iotests 153 left t.qcow2.c behind in the scratch directory. Make sure to clean it up after completing the tests. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/qemu-iotests/1531
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/153 b/tests/qemu-iotests/153
index 0b45d78..fa25eb2 100755
--- a/tests/qemu-iotests/153
+++ b/tests/qemu-iotests/153
@@ -35,6 +35,7 @@ _cleanup()
rm -f "${TEST_IMG}.convert"
rm -f "${TEST_IMG}.a"
rm -f "${TEST_IMG}.b"
+ rm -f "${TEST_IMG}.c"
rm -f "${TEST_IMG}.lnk"
}
trap "_cleanup; exit \$status" 0 1 2 3 15