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:
parent
d8a24044b7
commit
ba8bd17a6a
@ -1281,7 +1281,7 @@ testOpenFromFile(virConnectPtr conn, const char *file)
|
||||
xmlFreeDoc(doc);
|
||||
testDriverUnlock(privconn);
|
||||
|
||||
return 0;
|
||||
return VIR_DRV_OPEN_SUCCESS;
|
||||
|
||||
error:
|
||||
xmlXPathFreeContext(ctxt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user