1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-20 18:03:50 +03:00

test: testOpenFromFile: return VIR_DRV_OPEN_SUCCESS in case of success

Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
Marc Hartmayer 2018-03-08 13:20:30 +01:00 committed by John Ferlan
parent d8a24044b7
commit ba8bd17a6a

View File

@ -1281,7 +1281,7 @@ testOpenFromFile(virConnectPtr conn, const char *file)
xmlFreeDoc(doc);
testDriverUnlock(privconn);
return 0;
return VIR_DRV_OPEN_SUCCESS;
error:
xmlXPathFreeContext(ctxt);