提交 ba8bd17a 编写于 作者: M Marc Hartmayer 提交者: John Ferlan

test: testOpenFromFile: return VIR_DRV_OPEN_SUCCESS in case of success

Signed-off-by: NMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
Reviewed-by: NBoris Fiuczynski <fiuczy@linux.vnet.ibm.com>
Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
上级 d8a24044
......@@ -1281,7 +1281,7 @@ testOpenFromFile(virConnectPtr conn, const char *file)
xmlFreeDoc(doc);
testDriverUnlock(privconn);
return 0;
return VIR_DRV_OPEN_SUCCESS;
error:
xmlXPathFreeContext(ctxt);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册