diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2021-12-23 17:01:30 +0100 |
---|---|---|
committer | Hanna Reitz <hreitz@redhat.com> | 2022-02-01 10:51:39 +0100 |
commit | 8f9e54ccfd047cbef09fe10fa75d59333052fb78 (patch) | |
tree | 57b492aaa63045f689d58b0a3ad45de3a61ca622 /tests/qemu-iotests/044 | |
parent | 22e29bcea12ccf0e127b91917d959c69bebbd952 (diff) | |
download | qemu-8f9e54ccfd047cbef09fe10fa75d59333052fb78.zip qemu-8f9e54ccfd047cbef09fe10fa75d59333052fb78.tar.gz qemu-8f9e54ccfd047cbef09fe10fa75d59333052fb78.tar.bz2 |
iotests: drop qemu_img_verbose() helper
qemu_img_verbose() has a drawback of not going through generic
qemu_img_pipe_and_status(). qemu_img_verbose() is not very popular, so
update the only two users to qemu_img_log() and drop qemu_img_verbose()
at all.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20211223160144.1097696-6-vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/044')
-rwxr-xr-x | tests/qemu-iotests/044 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/qemu-iotests/044 b/tests/qemu-iotests/044 index d696e64..a5ee9a7 100755 --- a/tests/qemu-iotests/044 +++ b/tests/qemu-iotests/044 @@ -24,7 +24,7 @@ import os import qcow2 from qcow2 import QcowHeader import iotests -from iotests import qemu_img, qemu_img_verbose, qemu_io +from iotests import qemu_img, qemu_img_log, qemu_io import struct import subprocess import sys @@ -112,10 +112,11 @@ class TestRefcountTableGrowth(iotests.QMPTestCase): def test_grow_refcount_table(self): qemu_io('-c', 'write 3800M 1M', test_img) - qemu_img_verbose('check' , test_img) + qemu_img_log('check' , test_img) pass if __name__ == '__main__': + iotests.activate_logging() iotests.main(supported_fmts=['qcow2'], supported_protocols=['file'], unsupported_imgopts=['refcount_bits']) |