aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Bolte <matthias.bolte@googlemail.com>2010-01-15 23:05:26 +0100
committerMatthias Bolte <matthias.bolte@googlemail.com>2010-01-26 01:19:23 +0100
commit854111f97e0b6d4617f95c628dc754286e2258a2 (patch)
tree65d6203a5ef362245b71d006f4ddd754784a0dc7 /tests
parentRevert "Fix libvirtd restart for domains with PCI passthrough devices" (diff)
downloadlibvirt-854111f97e0b6d4617f95c628dc754286e2258a2.tar.gz
libvirt-854111f97e0b6d4617f95c628dc754286e2258a2.tar.bz2
libvirt-854111f97e0b6d4617f95c628dc754286e2258a2.zip
esx: Stop passing around virConnectPtr for error reporting
Diffstat (limited to 'tests')
-rw-r--r--tests/esxutilstest.c3
-rw-r--r--tests/vmx2xmltest.c2
-rw-r--r--tests/xml2vmxtest.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/tests/esxutilstest.c b/tests/esxutilstest.c
index f73df4878..d8cfa2a8a 100644
--- a/tests/esxutilstest.c
+++ b/tests/esxutilstest.c
@@ -122,8 +122,7 @@ testParseDatastoreRelatedPath(const void *data ATTRIBUTE_UNUSED)
VIR_FREE(directoryName);
VIR_FREE(fileName);
- if (esxUtil_ParseDatastoreRelatedPath(NULL,
- paths[i].datastoreRelatedPath,
+ if (esxUtil_ParseDatastoreRelatedPath(paths[i].datastoreRelatedPath,
&datastoreName, &directoryName,
&fileName) != paths[i].result) {
goto failure;
diff --git a/tests/vmx2xmltest.c b/tests/vmx2xmltest.c
index 2e4547e88..8ea0b1204 100644
--- a/tests/vmx2xmltest.c
+++ b/tests/vmx2xmltest.c
@@ -35,7 +35,7 @@ testCompareFiles(const char *vmx, const char *xml, esxVI_APIVersion apiVersion)
goto failure;
}
- def = esxVMX_ParseConfig(NULL, NULL, vmxData, "datastore", "directory",
+ def = esxVMX_ParseConfig(NULL, vmxData, "datastore", "directory",
apiVersion);
if (def == NULL) {
diff --git a/tests/xml2vmxtest.c b/tests/xml2vmxtest.c
index 1a621a2da..530dd2a02 100644
--- a/tests/xml2vmxtest.c
+++ b/tests/xml2vmxtest.c
@@ -89,7 +89,7 @@ testCompareFiles(const char *xml, const char *vmx, esxVI_APIVersion apiVersion)
goto failure;
}
- formatted = esxVMX_FormatConfig(NULL, NULL, def, apiVersion);
+ formatted = esxVMX_FormatConfig(NULL, def, apiVersion);
if (formatted == NULL) {
goto failure;