qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 6/6] blockdev-test: Test device_del after drive_


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 6/6] blockdev-test: Test device_del after drive_del
Date: Thu, 02 Oct 2014 09:38:41 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

On 10/02/2014 08:51 AM, Markus Armbruster wrote:
> Executed in this order, drive_del and device_del's automatic drive
> deletion take notoriously tricky special paths.
> 
> Signed-off-by: Markus Armbruster <address@hidden>
> ---
>  tests/drive_del-test.c | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/tests/drive_del-test.c b/tests/drive_del-test.c

> +    /* Complication: ignore DEVICE_DELETED event */
> +    qmp_discard_response("{'execute': 'device_del',"

Still not a fan of single quotes in QMP, but it's existing style.


> +static void test_drive_del_device_del(void)
> +{
> +    /* Start with a drive used by an device that unplugs instantaneously */

s/an device/a device/

New tests are always good; with the typo fix:
Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]