tests: qemublock: Rename variables in anticipation of new tests

New tests will add new data structures so rename the 'data' structure.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
Peter Krempa 2018-03-16 17:11:29 +01:00
parent e17193acd2
commit 21498975d1

View File

@ -117,15 +117,16 @@ static int
mymain(void)
{
int ret = 0;
struct testBackingXMLjsonXMLdata data;
struct testBackingXMLjsonXMLdata xmljsonxmldata;
virTestCounterReset("qemu storage source xml->json->xml ");
#define TEST_JSON_FORMAT(tpe, xmlstr) \
do { \
data.type = tpe; \
data.xml = xmlstr; \
if (virTestRun(virTestCounterNext(), testBackingXMLjsonXML, &data) < 0) \
xmljsonxmldata.type = tpe; \
xmljsonxmldata.xml = xmlstr; \
if (virTestRun(virTestCounterNext(), testBackingXMLjsonXML, \
&xmljsonxmldata) < 0) \
ret = -1; \
} while (0)