iotests: replace qemu_img_log('create', ...) calls
commit3c8b7358d6b5b887473b17b8528e042f9581e7b4
authorJohn Snow <jsnow@redhat.com>
Mon, 21 Mar 2022 20:16:16 +0000 (21 16:16 -0400)
committerHanna Reitz <hreitz@redhat.com>
Tue, 22 Mar 2022 09:14:41 +0000 (22 10:14 +0100)
tree6d37f3ece98e911ecaf3cfcca50da24526dc43b5
parent97576f8c0a0870578a214caa7a138f929f74166e
iotests: replace qemu_img_log('create', ...) calls

qemu_img_log() calls into qemu_img_pipe(), which always removes output
for 'create' commands on success anyway. Replace all of these calls to
the simpler qemu_img_create(...) which doesn't log, but raises a
detailed exception object on failure instead.

Blank lines are removed from output files where appropriate.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220321201618.903471-17-jsnow@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
tests/qemu-iotests/255
tests/qemu-iotests/255.out
tests/qemu-iotests/274
tests/qemu-iotests/274.out
tests/qemu-iotests/280
tests/qemu-iotests/280.out