From: David Hildenbrand <david@redhat.com>
To: Janosch Frank <frankja@linux.ibm.com>, kvm@vger.kernel.org
Cc: linux-s390@vger.kernel.org, thuth@redhat.com, stzi@linux.ibm.com,
mhartmay@linux.ibm.com, cohuck@redhat.com
Subject: Re: [kvm-unit-tests PATCH] s390x: stsi: Make output tap13 compatible
Date: Mon, 25 May 2020 10:48:08 +0200 [thread overview]
Message-ID: <244260ca-25d9-e181-cc35-6c3b397b6864@redhat.com> (raw)
In-Reply-To: <20200525084340.1454-1-frankja@linux.ibm.com>
On 25.05.20 10:43, Janosch Frank wrote:
> In tap13 output # is a special character and only "skip" and "todo"
> are allowed to come after it. Let's appease our CI environment and
> replace # with "count".
>
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
> ---
> s390x/stsi.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/s390x/stsi.c b/s390x/stsi.c
> index 66b4257..b81cea7 100644
> --- a/s390x/stsi.c
> +++ b/s390x/stsi.c
> @@ -129,11 +129,11 @@ static void test_3_2_2(void)
> }
>
> report(!memcmp(data->vm[0].uuid, uuid, sizeof(uuid)), "uuid");
> - report(data->vm[0].conf_cpus == smp_query_num_cpus(), "cpu # configured");
> + report(data->vm[0].conf_cpus == smp_query_num_cpus(), "cpu count configured");
> report(data->vm[0].total_cpus ==
> data->vm[0].reserved_cpus + data->vm[0].conf_cpus,
> - "cpu # total == conf + reserved");
> - report(data->vm[0].standby_cpus == 0, "cpu # standby");
> + "cpu count total == conf + reserved");
> + report(data->vm[0].standby_cpus == 0, "cpu count standby");
> report(!memcmp(data->vm[0].name, vm_name, sizeof(data->vm[0].name)),
> "VM name == kvm-unit-test");
>
>
Think you could just have applied a filter on top of the output instead.
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Thanks,
David / dhildenb
next prev parent reply other threads:[~2020-05-25 8:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-25 8:43 [kvm-unit-tests PATCH] s390x: stsi: Make output tap13 compatible Janosch Frank
2020-05-25 8:46 ` Thomas Huth
2020-05-25 8:48 ` David Hildenbrand [this message]
2020-05-25 9:43 ` Cornelia Huck
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=244260ca-25d9-e181-cc35-6c3b397b6864@redhat.com \
--to=david@redhat.com \
--cc=cohuck@redhat.com \
--cc=frankja@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=mhartmay@linux.ibm.com \
--cc=stzi@linux.ibm.com \
--cc=thuth@redhat.com \
/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