From: Thomas Huth <thuth@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@redhat.com>, qemu-devel@nongnu.org
Cc: Laurent Vivier <lvivier@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
berrange@redhat.com,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
Juan Quintela <quintela@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 2/3] tests: add qtest_set_exit_status()
Date: Wed, 17 Jul 2019 13:50:28 +0200 [thread overview]
Message-ID: <7c3560a8-4acb-fe26-abec-13732cf027e9@redhat.com> (raw)
In-Reply-To: <20190708072437.3339-3-marcandre.lureau@redhat.com>
On 08/07/2019 09.24, Marc-André Lureau wrote:
> Modify the behaviour of qtest_quit() to check against the expected
> exit status value. The default remains 0.
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
> tests/libqtest.c | 41 ++++++++++++++++++++++-------------------
> tests/libqtest.h | 9 +++++++++
> 2 files changed, 31 insertions(+), 19 deletions(-)
>
> diff --git a/tests/libqtest.c b/tests/libqtest.c
> index 3c5c3f49d8..d722de6da8 100644
> --- a/tests/libqtest.c
> +++ b/tests/libqtest.c
> @@ -46,6 +46,7 @@ struct QTestState
> bool big_endian;
> bool irq_level[MAX_IRQ];
> GString *rx;
> + int exit_status;
Could you please call the variable "expected_exit_status" or
"expected_status"? I think that's less confusing.
Thanks,
Thomas
next prev parent reply other threads:[~2019-07-17 11:50 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-08 7:24 [Qemu-devel] [PATCH 0/3] Add dbus-vmstate Marc-André Lureau
2019-07-08 7:24 ` [Qemu-devel] [PATCH 1/3] qemu-file: move qemu_{get, put}_counted_string() declarations Marc-André Lureau
2019-07-08 8:03 ` Juan Quintela
2019-07-08 7:24 ` [Qemu-devel] [PATCH 2/3] tests: add qtest_set_exit_status() Marc-André Lureau
2019-07-08 8:04 ` Juan Quintela
2019-07-17 11:50 ` Thomas Huth [this message]
2019-07-08 7:24 ` [Qemu-devel] [PATCH 3/3] Add dbus-vmstate object Marc-André Lureau
2019-07-08 8:41 ` Juan Quintela
2019-07-08 16:11 ` Eric Blake
2019-07-10 6:14 ` Paolo Bonzini
2019-07-10 8:05 ` Daniel P. Berrangé
2019-07-08 8:01 ` [Qemu-devel] [PATCH 0/3] Add dbus-vmstate no-reply
2019-07-08 9:35 ` no-reply
2019-07-08 15:44 ` Dr. David Alan Gilbert
2019-07-08 16:08 ` Daniel P. Berrangé
2019-07-08 16:04 ` Daniel P. Berrangé
2019-07-09 8:26 ` Marc-André Lureau
2019-07-09 9:01 ` Daniel P. Berrangé
2019-07-09 10:47 ` Marc-André Lureau
2019-07-10 9:10 ` Daniel P. Berrangé
2019-07-10 8:53 ` Paolo Bonzini
2019-07-10 9:03 ` Daniel P. Berrangé
2019-07-10 9:54 ` Paolo Bonzini
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=7c3560a8-4acb-fe26-abec-13732cf027e9@redhat.com \
--to=thuth@redhat.com \
--cc=berrange@redhat.com \
--cc=dgilbert@redhat.com \
--cc=lvivier@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@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;
as well as URLs for NNTP newsgroup(s).