[libvirt] [PATCH 08/24] tests: qemuhelp: convert to virTestLoadFilePath

Eric Blake eblake at redhat.com
Wed Jul 26 13:41:24 UTC 2017


On 07/26/2017 05:00 AM, Peter Krempa wrote:
> As a sample usage of the new helper convert the calls in qemuhelptest to
> the new helper.
> ---
>  tests/qemuhelptest.c | 14 ++------------
>  1 file changed, 2 insertions(+), 12 deletions(-)
> 

Nice!
Reviewed-by: Eric Blake <eblake at redhat.com>

> +    if (!(help = virTestLoadFilePath("qemuhelpdata/", info->name, "-device", NULL)))
>          goto cleanup;

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170726/bc3f0e0d/attachment-0001.sig>


More information about the libvir-list mailing list