qemu/tests
John Snow 4cf661f2c0 iotests: remove remaining calls to qemu_img_pipe()
As part of moving all python iotest invocations of qemu-img onto a
single qemu_img() implementation, remove a few lingering uses of
qemu_img_pipe() from outside of iotests.py itself.

Several cases here rely on the knowledge that qemu_img_pipe() suppresses
*all* output on a successful case when the command being issued is
'create'.

065: This call's output is inspected, but it appears as if it's expected
     to succeed. Replace this call with the checked qemu_img() variant
     instead to get better diagnostics if/when qemu-img itself fails.

237: "create" call output isn't actually logged. Use qemu_img_create()
     instead, which checks the return code. Remove the empty lines from
     the test output.

296: Two calls;
     -create: Expected to succeed. Like other create calls, the output
              isn't actually logged.  Switch to a checked variant
              (qemu_img_create) instead. The output for this test is
              a mixture of both test styles, so actually replace the
              blank line for readability.
     -amend:  This is expected to fail. Log the output.

After this patch, the only uses of qemu_img_pipe are internal to
iotests.py and will be removed in subsequent patches.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220321201618.903471-15-jsnow@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
2022-03-22 10:14:38 +01:00
..
avocado tests/avocado: start PhoneServer upfront 2022-03-16 08:43:10 +01:00
bench osdep: Move memalign-related functions to their own header 2022-03-07 13:16:49 +00:00
data tests/acpi: update expected data files 2022-03-15 09:31:44 +01:00
decode
docker tests/docker: introduce debian-riscv64-test-cross 2022-02-28 16:42:02 +00:00
fp tests/fp/berkeley-testfloat-3: Ignore ignored #pragma directives 2022-03-15 13:36:33 +01:00
guest-debug
image-fuzzer
include
keys
lcitool tests/docker: update debian-s390x-cross with lcitool 2022-02-28 16:42:02 +00:00
migration
multiboot
perf/block/qcow2
plugin tests/plugins: add instruction matching to libinsn.so 2022-02-09 12:08:42 +00:00
qapi-schema meson: drop sphinx_extn_depends 2021-11-08 12:27:23 +04:00
qemu-iotests iotests: remove remaining calls to qemu_img_pipe() 2022-03-22 10:14:38 +01:00
qtest 9pfs: Use g_new() & friends where that makes obvious sense 2022-03-21 15:44:44 +01:00
rocker
tcg target/arm: Fix sve2 ldnt1 and stnt1 2022-03-18 10:55:15 +00:00
tsan
uefi-test-tools
unit Use g_new() & friends where that makes obvious sense 2022-03-21 15:44:44 +01:00
vm tests/vm: Update haiku test vm to R1/Beta3 2022-03-07 19:00:05 +01:00
vmstate-static-checker-data
check-block.sh tests/qemu-iotests: Rework the checks and spots using GNU sed 2022-03-04 18:18:26 +01:00
dbus-vmstate-daemon.sh
Makefile.include tests: Do not treat the iotests as separate meson test target anymore 2022-03-22 09:40:54 +01:00
meson.build meson: use .allowed() method for features 2022-02-16 15:01:33 +01:00
requirements.txt
test-qht-par.c
vhost-user-bridge.c