From: Max Reitz <mreitz@redhat.com>
To: Xiao Guang Chen <chenxg@linux.vnet.ibm.com>, qemu-devel@nongnu.org
Cc: kwolf@redhat.com, mimu@linux.vnet.ibm.com, armbru@redhat.com
Subject: Re: [Qemu-devel] [PATCH RFC v6 5/5] qemu-iotests: s390x: fix test 051
Date: Wed, 11 Feb 2015 11:00:37 -0500 [thread overview]
Message-ID: <54DB7CA5.5000004@redhat.com> (raw)
In-Reply-To: <1423651057-16204-6-git-send-email-chenxg@linux.vnet.ibm.com>
On 2015-02-11 at 05:37, Xiao Guang Chen wrote:
> The tests for device type "ide_cd" should only be tested for the pc platform.
> The default device id of hard disk on the s390 platform differs to that
> of the x86 platform. A new variable device_id is defined and "virtio0"
> set for the s390 platform. A x86 platform specific output file is also
> needed.
> A new filter was added to filter orphan warnings.
>
> Reviewed-by: Max Reitz <mreitz@redhat.com>
> Reviewed-by: Michael Mueller <mimu@linux.vnet.ibm.com>
> Signed-off-by: Xiao Guang Chen <chenxg@linux.vnet.ibm.com>
> ---
> tests/qemu-iotests/051 | 79 +++++---
> tests/qemu-iotests/051.out | 175 ++++++----------
> tests/qemu-iotests/051.pc.out | 427 +++++++++++++++++++++++++++++++++++++++
> tests/qemu-iotests/common.filter | 7 +
> 4 files changed, 547 insertions(+), 141 deletions(-)
> create mode 100644 tests/qemu-iotests/051.pc.out
[snip]
> +# removes orphan warnings
> +_filter_orphan()
> +{
> + sed -e 's/Warning: Orphaned drive without device:.*$//g'
Well, the problem with this is that it does not remove the newline
introduced by the warning, so it's still a different output then if the
warning had not been emitted at all.
But as I said in my review for v5, as long as it works on x86 and s390,
I'm fine with it, so my R-b stands.
Max
> +}
> +
> # replace occurrences of QEMU_PROG with "qemu"
> _filter_qemu()
> {
> + _filter_orphan | \
> sed -e "s#\\(^\\|(qemu) \\)$(basename $QEMU_PROG):#\1QEMU_PROG:#" \
> -e 's#^QEMU [0-9]\+\.[0-9]\+\.[0-9]\+ monitor#QEMU X.Y.Z monitor#' \
> -e '/main-loop: WARNING: I\/O thread spun for [0-9]\+ iterations/d' \
next prev parent reply other threads:[~2015-02-11 16:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-11 10:37 [Qemu-devel] [PATCH RFC v6 0/5] Update tests/qemu-iotests failing cases for the s390 platform Xiao Guang Chen
2015-02-11 10:37 ` [Qemu-devel] [PATCH RFC v6 1/5] qemu-iotests: qemu machine type support Xiao Guang Chen
2015-02-11 10:37 ` [Qemu-devel] [PATCH RFC v6 2/5] qemu-iotests: run qemu with -nodefaults and fix 067, 071, 081 and 087 Xiao Guang Chen
2015-02-11 15:57 ` Max Reitz
2015-02-11 10:37 ` [Qemu-devel] [PATCH RFC v6 3/5] qemu-iotests: s390x: fix test 041 Xiao Guang Chen
2015-02-11 10:37 ` [Qemu-devel] [PATCH RFC v6 4/5] qemu-iotests: s390x: fix test 055 Xiao Guang Chen
2015-02-11 10:37 ` [Qemu-devel] [PATCH RFC v6 5/5] qemu-iotests: s390x: fix test 051 Xiao Guang Chen
2015-02-11 16:00 ` Max Reitz [this message]
2015-02-11 16:23 ` Markus Armbruster
2015-02-11 16:24 ` Max Reitz
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=54DB7CA5.5000004@redhat.com \
--to=mreitz@redhat.com \
--cc=armbru@redhat.com \
--cc=chenxg@linux.vnet.ibm.com \
--cc=kwolf@redhat.com \
--cc=mimu@linux.vnet.ibm.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).