mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
bhyve: fix build in tests
Commit ca32929 caused build errors in bhyvexml2argvtest.c because of some undefined variables. Pushing under the build breaker rule.
This commit is contained in:
parent
d45dadae6c
commit
0d6563d7f0
@ -19,7 +19,6 @@ static int testCompareXMLToArgvFiles(const char *xml,
|
|||||||
const char *ldcmdline,
|
const char *ldcmdline,
|
||||||
const char *dmcmdline)
|
const char *dmcmdline)
|
||||||
{
|
{
|
||||||
int len;
|
|
||||||
char *actualargv = NULL, *actualld = NULL, *actualdm = NULL;
|
char *actualargv = NULL, *actualld = NULL, *actualdm = NULL;
|
||||||
virDomainDefPtr vmdef = NULL;
|
virDomainDefPtr vmdef = NULL;
|
||||||
virDomainObj vm;
|
virDomainObj vm;
|
||||||
@ -59,9 +58,6 @@ static int testCompareXMLToArgvFiles(const char *xml,
|
|||||||
if (virtTestCompareToFile(actualld, ldcmdline) < 0)
|
if (virtTestCompareToFile(actualld, ldcmdline) < 0)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
if (virtTestCompareToFile(formatted, xml) < 0)
|
|
||||||
goto out;
|
|
||||||
|
|
||||||
if (virFileExists(dmcmdline) || actualdm) {
|
if (virFileExists(dmcmdline) || actualdm) {
|
||||||
if (virtTestCompareToFile(actualdm, dmcmdline) < 0)
|
if (virtTestCompareToFile(actualdm, dmcmdline) < 0)
|
||||||
goto out;
|
goto out;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user