qemu-iotests: Cleanup test image in test number 007

qemu-iotests number 007 doesn't do test image cleanup. This will affect
those protocols that expect a clean state before every test. Hence
ensure that test image is cleaned up in this test.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Bharata B Rao 2013-09-12 14:07:59 +05:30 committed by Kevin Wolf
parent c745bfb430
commit 4aa846f25e

View file

@ -30,7 +30,7 @@ status=1 # failure is the default!
_cleanup()
{
# _cleanup_test_img
_cleanup_test_img
true
}
trap "_cleanup; exit \$status" 0 1 2 3 15