]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qemu-iotests/153: Fix leaked scratch images
authorKevin Wolf <kwolf@redhat.com>
Thu, 27 Jul 2017 13:13:20 +0000 (15:13 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 1 Aug 2017 16:09:33 +0000 (18:09 +0200)
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>
tests/qemu-iotests/153

index 0b45d78ea3ea13ba61be2fa2de768a13ff57e731..fa25eb24bd2815ff3ae9df2ce4ff5becc74e2c4d 100755 (executable)
@@ -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