mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-10-18 03:33:51 +03:00
qemuxml2argvtest: do not mock virCommand
Mock virNetDevRunEthernetScript instead. This restores the VIR_TEST_REGENERATE_OUTPUT functionality.
This commit is contained in:
@@ -132,12 +132,9 @@ virNetDevSetOnline(const char *ifname ATTRIBUTE_UNUSED,
|
||||
}
|
||||
|
||||
int
|
||||
virCommandRun(virCommandPtr cmd ATTRIBUTE_UNUSED,
|
||||
int *exitstatus)
|
||||
virNetDevRunEthernetScript(const char *ifname ATTRIBUTE_UNUSED,
|
||||
const char *script ATTRIBUTE_UNUSED)
|
||||
{
|
||||
if (exitstatus)
|
||||
*exitstatus = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user