Mock virNetDevRunEthernetScript instead.
This restores the VIR_TEST_REGENERATE_OUTPUT functionality.
virNetDevReplaceNetConfig;
virNetDevRestoreMacAddress;
virNetDevRestoreNetConfig;
+virNetDevRunEthernetScript;
virNetDevRxFilterFree;
virNetDevRxFilterModeTypeFromString;
virNetDevRxFilterModeTypeToString;
}
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;
}