]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qemu-iotests/iotests.py
iotests: remove qemu_img_pipe_and_status()
authorJohn Snow <jsnow@redhat.com>
Mon, 21 Mar 2022 20:16:17 +0000 (16:16 -0400)
committerHanna Reitz <hreitz@redhat.com>
Tue, 22 Mar 2022 09:39:26 +0000 (10:39 +0100)
commitf400e14da0d4d2d4247df37d01604afcf3612447
treeb5e8a697aadcdfc541301fc829e3172f93f12e95
parent3c8b7358d6b5b887473b17b8528e042f9581e7b4
iotests: remove qemu_img_pipe_and_status()

With the exceptional 'create' calls removed in the prior commit, change
qemu_img_log() and img_info_log() to call qemu_img() directly
instead.

For now, allow these calls to qemu-img to return non-zero on the basis
that any unusual output will be logged anyway. The very next commit
begins to enforce a successful exit code by default even for the logged
functions.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20220321201618.903471-18-jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
tests/qemu-iotests/iotests.py