From: Eric Blake <eblake@redhat.com>
To: Nir Soffer <nirsof@gmail.com>, qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>, Nir Soffer <nsoffer@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v3 3/3] qemu-io: Fix tests expecting the wrong output
Date: Mon, 30 Jan 2017 10:46:48 -0600 [thread overview]
Message-ID: <5efd1f74-f5fb-fbe6-b2e0-7a293c096665@redhat.com> (raw)
In-Reply-To: <20170128035929.10168-3-nirsof@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1774 bytes --]
On 01/27/2017 09:59 PM, Nir Soffer wrote:
> From: Nir Soffer <nsoffer@redhat.com>
>
> Many tests expected the wrong behavior when qemu-io call into the
> command with after failing to open the file, writing this error:
>
> no file open, try 'help open'
>
> Now that we fail immediately when opening a file fails, this error does
> not exist in the output; remove it from tests output.
Ideally, this should be squashed into the patch that changes the output
(so that a git bisect landing on the change in behavior does not hit
unnecessarily-broken tests).
>
> Tested using:
>
> ./check 059 -vmdk (unrelated failure)
> ./check 070 -vhdx
> ./check 075 -cloop
> ./check 076 -parallels
> ./check 078 -bochs
> ./check 080 -qcow2
> ./check 083 -nbd
> ./check 088 -vpc
> ./check 092 -qcow
> ./check 116 -qed
> ./check 131 -parallels
> ./check 140 -raw
> ./check 140 -qcow2
> ./check -raw
> ./check -qcow2
>
> Signed-off-by: Nir Soffer <nirsof@gmail.com>
> ---
> tests/qemu-iotests/059.out | 3 ---
> tests/qemu-iotests/070.out | 1 -
> tests/qemu-iotests/075.out | 7 -------
> tests/qemu-iotests/076.out | 3 ---
> tests/qemu-iotests/078.out | 6 ------
> tests/qemu-iotests/080.out | 18 ------------------
> tests/qemu-iotests/083.out | 17 -----------------
> tests/qemu-iotests/088.out | 6 ------
> tests/qemu-iotests/092.out | 12 ------------
> tests/qemu-iotests/116.out | 7 -------
> tests/qemu-iotests/131.out | 1 -
> tests/qemu-iotests/140.out | 1 -
> 12 files changed, 82 deletions(-)
>
The changes look reasonable, once squashed in to the right place;
looking forward to v4.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2017-01-30 16:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-28 3:59 [Qemu-devel] [PATCH v3 3/3] qemu-io: Fix tests expecting the wrong output Nir Soffer
2017-01-30 16:46 ` Eric Blake [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-01-30 11:55 [Qemu-devel] [PATCH v3 1/3] qemu-io: Return non-zero exit code on failure Nir Soffer
2017-01-30 11:55 ` [Qemu-devel] [PATCH v3 3/3] qemu-io: Fix tests expecting the wrong output Nir Soffer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5efd1f74-f5fb-fbe6-b2e0-7a293c096665@redhat.com \
--to=eblake@redhat.com \
--cc=kwolf@redhat.com \
--cc=nirsof@gmail.com \
--cc=nsoffer@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).