From: Kevin Wolf Date: Thu, 27 Jul 2017 13:13:20 +0000 (+0200) Subject: qemu-iotests/153: Fix leaked scratch images X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6a1e9096206f65525d1fec418b91d5ac82c77934;p=qemu.git 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 Reviewed-by: Jeff Cody Reviewed-by: Eric Blake --- diff --git a/tests/qemu-iotests/153 b/tests/qemu-iotests/153 index 0b45d78ea3..fa25eb24bd 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