
23 Jun
2016
23 Jun
'16
4:37 p.m.
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