qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 07/14] iotests: replace unchecked calls to qemu_img_pipe()


From: Hanna Reitz
Subject: Re: [PATCH 07/14] iotests: replace unchecked calls to qemu_img_pipe()
Date: Thu, 17 Mar 2022 12:38:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 09.03.22 04:54, John Snow wrote:
qemu_img_pipe() discards the return code from qemu-img in favor of
returning just its output. Some tests using this function don't save,
log, or check the output either, though, which is unsafe.

Replace all of these calls with a checked version.

Tests affected are 194, 202, 203, 234, 262, and 303.

Signed-off-by: John Snow <jsnow@redhat.com>
---
  tests/qemu-iotests/194 | 4 ++--
  tests/qemu-iotests/202 | 4 ++--
  tests/qemu-iotests/203 | 4 ++--
  tests/qemu-iotests/234 | 4 ++--
  tests/qemu-iotests/262 | 2 +-
  tests/qemu-iotests/303 | 2 +-
  6 files changed, 10 insertions(+), 10 deletions(-)

Reviewed-by: Hanna Reitz <hreitz@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]