The return from virInitialize() needs to be checked. --- tests/xencapstest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/xencapstest.c b/tests/xencapstest.c index e220234..8bdd6cd 100644 --- a/tests/xencapstest.c +++ b/tests/xencapstest.c @@ -161,7 +161,8 @@ mymain(void) int ret = 0; xenHypervisorInit(&hv_versions); - virInitialize(); + if (virInitialize() < 0) + return EXIT_FAILURE; if (virtTestRun("Capabilities for i686, no PAE, no HVM", 1, testXeni686, NULL) != 0) -- 1.8.1.4 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list