[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 11/13] tests: Don't call visit_end_struct() afte
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 11/13] tests: Don't call visit_end_struct() after visit_start_struct() fails |
Date: |
Mon, 05 May 2014 15:12:41 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 05/02/2014 06:44 AM, Markus Armbruster wrote:
> When visit_start_struct() succeeds, visit_end_struct() must not be
As in 10/13, s/succeeds/fails/
> called. Three out of four visit_type_TestStruct() call it anyway. As
> far as I can tell, visit_start_struct() doesn't actually fail there.
> Fix them anyway.
>
> Signed-off-by: Markus Armbruster <address@hidden>
> ---
> tests/test-qmp-input-strict.c | 18 +++++++++++++-----
> tests/test-qmp-output-visitor.c | 18 +++++++++++++-----
> tests/test-visitor-serialization.c | 18 +++++++++++++-----
> 3 files changed, 39 insertions(+), 15 deletions(-)
>
With commit message fixed,
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 12/13] qapi: Replace uncommon use of the error API by the common one, (continued)
- [Qemu-devel] [PATCH 12/13] qapi: Replace uncommon use of the error API by the common one, Markus Armbruster, 2014/05/02
- [Qemu-devel] [PATCH 06/13] qapi: Clean up shadowing of parameters and locals in inner scopes, Markus Armbruster, 2014/05/02
- [Qemu-devel] [PATCH 07/13] qapi-visit.py: Clean up a sloppy use of field prefix, Markus Armbruster, 2014/05/02
- [Qemu-devel] [PATCH 13/13] error: error_is_set() is finally unused; remove, Markus Armbruster, 2014/05/02
- [Qemu-devel] [PATCH 11/13] tests: Don't call visit_end_struct() after visit_start_struct() fails, Markus Armbruster, 2014/05/02
- Re: [Qemu-devel] [PATCH 11/13] tests: Don't call visit_end_struct() after visit_start_struct() fails,
Eric Blake <=
- [Qemu-devel] [PATCH 10/13] hw: Don't call visit_end_struct() after visit_start_struct() fails, Markus Armbruster, 2014/05/02