Commit 4aa846f2 authored by Bharata B Rao's avatar Bharata B Rao Committed by Kevin Wolf
Browse files

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: default avatarBharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent c745bfb4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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