提交 0d6563d7 编写于 作者: R Roman Bogorodskiy

bhyve: fix build in tests

Commit ca329299 caused build errors in bhyvexml2argvtest.c because of
some undefined variables.

Pushing under the build breaker rule.
上级 d45dadae
......@@ -19,7 +19,6 @@ static int testCompareXMLToArgvFiles(const char *xml,
const char *ldcmdline,
const char *dmcmdline)
{
int len;
char *actualargv = NULL, *actualld = NULL, *actualdm = NULL;
virDomainDefPtr vmdef = NULL;
virDomainObj vm;
......@@ -59,9 +58,6 @@ static int testCompareXMLToArgvFiles(const char *xml,
if (virtTestCompareToFile(actualld, ldcmdline) < 0)
goto out;
if (virtTestCompareToFile(formatted, xml) < 0)
goto out;
if (virFileExists(dmcmdline) || actualdm) {
if (virtTestCompareToFile(actualdm, dmcmdline) < 0)
goto out;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册