qemu-block
[Top][All Lists]
Advanced

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

Re: [PATCH 03/15] iotests: Don't check qemu_io() output for specific err


From: Hanna Reitz
Subject: Re: [PATCH 03/15] iotests: Don't check qemu_io() output for specific error strings
Date: Tue, 22 Mar 2022 15:16:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 18.03.22 21:36, John Snow wrote:
A forthcoming commit updates qemu_io() to raise an exception on non-zero
return by default, and changes its return type.

In preparation, simplify some calls to qemu_io() that assert that
specific error message strings do not appear in qemu-io's
output. Asserting that all of these calls return a status code of zero
will be a more robust way to guard against failure.

Signed-off-by: John Snow <jsnow@redhat.com>
---
  tests/qemu-iotests/040 | 33 ++++++++++++++++-----------------
  tests/qemu-iotests/056 |  2 +-
  2 files changed, 17 insertions(+), 18 deletions(-)

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




reply via email to

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