Skip to content

Commit

Permalink
qemu-iotests/153: Fix leaked scratch images
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kevmw committed Aug 1, 2017
1 parent 0a1505d commit 6a1e909
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/qemu-iotests/153
Expand Up @@ -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
Expand Down

0 comments on commit 6a1e909

Please sign in to comment.