[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/5] iotests: QemuIoInteractive: use qemu_io_args_no_fmt
From: |
Eric Blake |
Subject: |
[PULL 3/5] iotests: QemuIoInteractive: use qemu_io_args_no_fmt |
Date: |
Mon, 13 Jul 2020 09:21:04 -0500 |
From: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
The only user (iotest 205) of QemuIoInteractive provides -f argument,
so it's a bit inefficient to use qemu_io_args, which contains -f too.
And we are going to add one more test, which wants to specify -f by
hand. Let's use qemu_io_args_no_fmt.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200701105331.121670-2-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
---
tests/qemu-iotests/iotests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py
index f1e0733dda05..109fb3884a26 100644
--- a/tests/qemu-iotests/iotests.py
+++ b/tests/qemu-iotests/iotests.py
@@ -212,7 +212,7 @@ def get_virtio_scsi_device():
class QemuIoInteractive:
def __init__(self, *args):
- self.args = qemu_io_args + list(args)
+ self.args = qemu_io_args_no_fmt + list(args)
self._p = subprocess.Popen(self.args, stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
--
2.27.0
- [PULL 0/5] NBD patches for 2020-07-13, Eric Blake, 2020/07/13
- [PULL 1/5] nbd: Avoid off-by-one in long export name truncation, Eric Blake, 2020/07/13
- [PULL 3/5] iotests: QemuIoInteractive: use qemu_io_args_no_fmt,
Eric Blake <=
- [PULL 4/5] iotests.py: QemuIoInteractive: print output on failure, Eric Blake, 2020/07/13
- [PULL 5/5] iotests.py: filter_testfiles(): filter SOCK_DIR too, Eric Blake, 2020/07/13
- [PULL 2/5] hax: Fix setting of FD_CLOEXEC, Eric Blake, 2020/07/13
- Re: [PULL 0/5] NBD patches for 2020-07-13, Peter Maydell, 2020/07/14