iotests: Remove explicit checks for qemu_img() == 0
commitfc272d3ce0094d2c2aff973662536d8d1a6943e5
authorJohn Snow <jsnow@redhat.com>
Mon, 21 Mar 2022 20:16:03 +0000 (21 16:16 -0400)
committerHanna Reitz <hreitz@redhat.com>
Tue, 22 Mar 2022 09:14:25 +0000 (22 10:14 +0100)
tree758859480247323e364c19ca151925a0cfdf0f77
parent062fd1dad2640d1c2522b71ddde4ba0bbdc8c6d9
iotests: Remove explicit checks for qemu_img() == 0

qemu_img() returning zero ought to be the rule, not the
exception. Remove all explicit checks against the condition in
preparation for making non-zero returns an Exception.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220321201618.903471-4-jsnow@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
15 files changed:
tests/qemu-iotests/163
tests/qemu-iotests/216
tests/qemu-iotests/218
tests/qemu-iotests/224
tests/qemu-iotests/228
tests/qemu-iotests/257
tests/qemu-iotests/258
tests/qemu-iotests/310
tests/qemu-iotests/tests/block-status-cache
tests/qemu-iotests/tests/graph-changes-while-io
tests/qemu-iotests/tests/image-fleecing
tests/qemu-iotests/tests/mirror-ready-cancel-error
tests/qemu-iotests/tests/mirror-top-perms
tests/qemu-iotests/tests/remove-bitmap-from-backing
tests/qemu-iotests/tests/stream-error-on-reset