[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 31/33] qemu-iotests: Cleanup test image in test numbe
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [PULL 31/33] qemu-iotests: Cleanup test image in test number 007 |
Date: |
Fri, 13 Sep 2013 13:51:01 +0200 |
From: Bharata B Rao <address@hidden>
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 <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
---
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.8.1.4
- [Qemu-devel] [PULL 21/33] qemu-iotests: add 057 internal snapshot for block device test case, (continued)
- [Qemu-devel] [PULL 21/33] qemu-iotests: add 057 internal snapshot for block device test case, Kevin Wolf, 2013/09/13
- [Qemu-devel] [PULL 22/33] bdrv: Use "Error" for opening images, Kevin Wolf, 2013/09/13
- [Qemu-devel] [PULL 23/33] bdrv: Use "Error" for creating images, Kevin Wolf, 2013/09/13
- [Qemu-devel] [PULL 26/33] qemu-img create: Emit filename on error, Kevin Wolf, 2013/09/13
- [Qemu-devel] [PULL 24/33] block: Error parameter for open functions, Kevin Wolf, 2013/09/13
- [Qemu-devel] [PULL 25/33] block: Error parameter for create functions, Kevin Wolf, 2013/09/13
- [Qemu-devel] [PULL 29/33] coroutine: add ./configure --disable-coroutine-pool, Kevin Wolf, 2013/09/13
- [Qemu-devel] [PULL 28/33] qemu-iotests: Adjustments due to error propagation, Kevin Wolf, 2013/09/13
- [Qemu-devel] [PULL 27/33] qcow2: Use Error parameter, Kevin Wolf, 2013/09/13
- [Qemu-devel] [PULL 30/33] qemu-img: fix invalid JSON, Kevin Wolf, 2013/09/13
- [Qemu-devel] [PULL 31/33] qemu-iotests: Cleanup test image in test number 007,
Kevin Wolf <=
- [Qemu-devel] [PULL 32/33] block: Assert validity of BdrvActionOps, Kevin Wolf, 2013/09/13
- [Qemu-devel] [PULL 33/33] qemu-iotests: Fix test 038, Kevin Wolf, 2013/09/13