[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 15/19] iotests.py: add qemu_io_pipe_and_status()
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[PATCH v2 15/19] iotests.py: add qemu_io_pipe_and_status() |
Date: |
Fri, 27 Aug 2021 21:18:04 +0300 |
Add helper that returns both status and output, to be used in the
following commit
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
---
tests/qemu-iotests/iotests.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py
index 77efcb0927..ff96d8ef16 100644
--- a/tests/qemu-iotests/iotests.py
+++ b/tests/qemu-iotests/iotests.py
@@ -206,6 +206,10 @@ def qemu_io(*args):
args = qemu_io_args + list(args)
return qemu_tool_pipe_and_status('qemu-io', args)[0]
+def qemu_io_pipe_and_status(*args):
+ args = qemu_io_args + list(args)
+ return qemu_tool_pipe_and_status('qemu-io', args)
+
def qemu_io_log(*args):
result = qemu_io(*args)
log(result, filters=[filter_testfiles, filter_qemu_io])
--
2.29.2
- [PATCH v2 03/19] block/block-copy: block_copy_state_new(): add bitmap parameter, (continued)
- [PATCH v2 03/19] block/block-copy: block_copy_state_new(): add bitmap parameter, Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 02/19] block/dirty-bitmap: bdrv_merge_dirty_bitmap(): add return value, Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 04/19] block/copy-before-write: add bitmap open parameter, Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 05/19] block/block-copy: add block_copy_reset(), Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 07/19] block/dirty-bitmap: introduce bdrv_dirty_bitmap_status(), Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 06/19] block: intoduce reqlist, Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 14/19] iotests/image-fleecing: add test-case for fleecing format node, Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 10/19] block: introduce fleecing block driver, Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 09/19] block: introduce FleecingState class, Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 13/19] block/copy-before-write: use write-unchanged in fleecing mode, Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 15/19] iotests.py: add qemu_io_pipe_and_status(),
Vladimir Sementsov-Ogievskiy <=
- [PATCH v2 12/19] block/block-copy: add write-unchanged mode, Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 17/19] block: blk_root(): return non-const pointer, Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 11/19] block/copy-before-write: support fleecing block driver, Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 08/19] block/reqlist: add reqlist_wait_all(), Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 16/19] iotests/image-fleecing: add test case with bitmap, Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 19/19] iotests/image-fleecing: test push backup with fleecing, Vladimir Sementsov-Ogievskiy, 2021/08/27
- [PATCH v2 18/19] qapi: backup: add immutable-source parameter, Vladimir Sementsov-Ogievskiy, 2021/08/27