iotests/remove-bitmap-from-backing: use qemu_img_info()
authorJohn Snow <jsnow@redhat.com>
Mon, 21 Mar 2022 20:16:09 +0000 (16:16 -0400)
committerHanna Reitz <hreitz@redhat.com>
Tue, 22 Mar 2022 09:14:32 +0000 (10:14 +0100)
commitac5bb4861c233c9483d89dff7ef0fa6f799ca1e7
treef2017ec1b64d2a9296c0835f7538d6e8b6ebb7da
parent9ebb2b765b0d6c6fd5228a736e31acfc10a56315
iotests/remove-bitmap-from-backing: use qemu_img_info()

This removes two more usages of qemu_img_pipe() and replaces them with
calls to qemu_img(), which provides better diagnostic information on
failure.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220321201618.903471-10-jsnow@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
tests/qemu-iotests/tests/remove-bitmap-from-backing