* [Qemu-devel] [PATCH] qemu-iotests: Cleanup test image in test number 007
@ 2013-09-12 8:37 Bharata B Rao
2013-09-12 11:54 ` Kevin Wolf
0 siblings, 1 reply; 2+ messages in thread
From: Bharata B Rao @ 2013-09-12 8:37 UTC (permalink / raw)
To: qemu-devel; +Cc: kwolf, stefanha, Bharata B Rao
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>
---
tests/qemu-iotests/007 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
1.7.11.7
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] qemu-iotests: Cleanup test image in test number 007
2013-09-12 8:37 [Qemu-devel] [PATCH] qemu-iotests: Cleanup test image in test number 007 Bharata B Rao
@ 2013-09-12 11:54 ` Kevin Wolf
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Wolf @ 2013-09-12 11:54 UTC (permalink / raw)
To: Bharata B Rao; +Cc: qemu-devel, stefanha
Am 12.09.2013 um 10:37 hat Bharata B Rao geschrieben:
> 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>
Thanks, applied to the block branch.
Kevin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-12 11:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-12 8:37 [Qemu-devel] [PATCH] qemu-iotests: Cleanup test image in test number 007 Bharata B Rao
2013-09-12 11:54 ` Kevin Wolf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.