mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 09:14:57 +00:00
tests: bhyve: split variable declarations
One variable per line. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Laine Stump <laine@redhat.com> Reviewed-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
This commit is contained in:
parent
d43f393134
commit
7b4a8995a0
@ -26,9 +26,12 @@ static int testCompareXMLToArgvFiles(const char *xml,
|
|||||||
const char *dmcmdline,
|
const char *dmcmdline,
|
||||||
unsigned int flags)
|
unsigned int flags)
|
||||||
{
|
{
|
||||||
char *actualargv = NULL, *actualld = NULL, *actualdm = NULL;
|
char *actualargv = NULL;
|
||||||
|
char *actualld = NULL;
|
||||||
|
char *actualdm = NULL;
|
||||||
virDomainDefPtr vmdef = NULL;
|
virDomainDefPtr vmdef = NULL;
|
||||||
virCommandPtr cmd = NULL, ldcmd = NULL;
|
virCommandPtr cmd = NULL;
|
||||||
|
virCommandPtr ldcmd = NULL;
|
||||||
virConnectPtr conn;
|
virConnectPtr conn;
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
|
|
||||||
@ -117,7 +120,9 @@ testCompareXMLToArgvHelper(const void *data)
|
|||||||
int ret = -1;
|
int ret = -1;
|
||||||
const struct testInfo *info = data;
|
const struct testInfo *info = data;
|
||||||
char *xml = NULL;
|
char *xml = NULL;
|
||||||
char *args = NULL, *ldargs = NULL, *dmargs = NULL;
|
char *args = NULL;
|
||||||
|
char *ldargs = NULL;
|
||||||
|
char *dmargs = NULL;
|
||||||
|
|
||||||
xml = g_strdup_printf("%s/bhyvexml2argvdata/bhyvexml2argv-%s.xml",
|
xml = g_strdup_printf("%s/bhyvexml2argvdata/bhyvexml2argv-%s.xml",
|
||||||
abs_srcdir, info->name);
|
abs_srcdir, info->name);
|
||||||
|
Loading…
Reference in New Issue
Block a user