[libvirt] [PATCH] nodeinfotest: Print libvirt error on failure

Eric Blake eblake at redhat.com
Mon Aug 23 15:41:34 UTC 2010


On 08/23/2010 09:03 AM, Jiri Denemark wrote:
> If linuxNodeInfoCPUPopulate() fails, the test would just print "FAILED"
> which is not very informative. It's better to print the real error.
> ---
>   tests/nodeinfotest.c |    6 ++++++
>   1 files changed, 6 insertions(+), 0 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list