summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBharata B Rao <bharata@linux.vnet.ibm.com>2013-09-12 14:07:59 +0530
committerKevin Wolf <kwolf@redhat.com>2013-09-12 13:54:43 +0200
commit4aa846f25e7cf14c77f699d8c1dfdfeddb091161 (patch)
tree7c85ddf2acdee91461b44c29ff7576cd6c7a47d9
parentc745bfb4300206280ce6156b4bafe765f610057c (diff)
downloadhqemu-4aa846f25e7cf14c77f699d8c1dfdfeddb091161.zip
hqemu-4aa846f25e7cf14c77f699d8c1dfdfeddb091161.tar.gz
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>
-rwxr-xr-xtests/qemu-iotests/0072
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/007 b/tests/qemu-iotests/007
index c454f2c..6fa7603 100755
--- a/tests/qemu-iotests/007
+++ b/tests/qemu-iotests/007
@@ -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
OpenPOWER on IntegriCloud