[libvirt] [PATCH 05/28] tests: mock virNetDevSetIPAddress

John Ferlan jferlan at redhat.com
Thu Jun 23 20:37:28 UTC 2016



On 06/22/2016 01:37 PM, Laine Stump wrote:
> Now that we can include <interface type='ethernet'> in tests, we could
> almost test XML that has an <ip> element in an interface. Except that
> the test fails when it tries to actually set the IP address for the
> interface's tap device. This patch mocks virNetDevSetIPAddress() to
> just return success.
> ---
>  tests/qemuxml2argvmock.c | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 

ACK

John




More information about the libvir-list mailing list