mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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>
This commit is contained in:
parent
22e29bcea1
commit
8f9e54ccfd
5 changed files with 10 additions and 13 deletions
|
@ -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'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue