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

Re: [libvirt] [PATCH v2 1/2] tests: utils: Allow NULL strings to be equal to empty file in virTestCompareToFile



On 07/28/2017 05:43 AM, Peter Krempa wrote:
> Treat an NULL string equivalent to an empty string in
> virTestCompareToFile so that callers don't need to add additional logic
> in case when a test produces no output.
> ---
>  tests/testutils.c | 5 +++++
>  1 file changed, 5 insertions(+)

Works for me!


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

Attachment: signature.asc
Description: OpenPGP digital signature


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