Signed-off-by: Tomáš Ryšavý <tom.rysavy.0(a)gmail.com>
---
src/test/test_driver.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index afddc06..811bbeb 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -1525,6 +1525,10 @@ static char * testConnectGetSysinfo(virConnectPtr conn
ATTRIBUTE_UNUSED,
return ret;
}
+static const char *testConnectGetType(virConnectPtr conn ATTRIBUTE_UNUSED) {
+ return "TEST";
+}
+
static int testConnectNumOfDomains(virConnectPtr conn)
{
testDriverPtr privconn = conn->privateData;
@@ -6700,6 +6704,7 @@ static virHypervisorDriver testHypervisorDriver = {
.nodeGetInfo = testNodeGetInfo, /* 0.1.1 */
.connectGetCapabilities = testConnectGetCapabilities, /* 0.2.1 */
.connectGetSysinfo = testConnectGetSysinfo, /* 2.3.0 */
+ .connectGetType = testConnectGetType, /* 2.3.0 */
.connectListDomains = testConnectListDomains, /* 0.1.1 */
.connectNumOfDomains = testConnectNumOfDomains, /* 0.1.1 */
.connectListAllDomains = testConnectListAllDomains, /* 0.9.13 */
--
2.9.3