diff mbox series

bug#38951: gnu: Add libgovirt.

Message ID 20200113171751.388c4559@scratchpost.org
State Accepted
Headers show
Series bug#38951: gnu: Add libgovirt. | expand

Checks

Context Check Description
cbaines/applying patch fail Apply failed

Commit Message

Danny Milosavljevic Jan. 13, 2020, 4:17 p.m. UTC
Hi Raghav,

I've found the reason for the test failure by using this patch:


Then I fixed the test failure by adding glib-networking (which is a GIO plugin).

I suspect that the tests won't work reliably because of the networking
involved (even when local)--but let's cross that bridge when we come to it.

Committed to guix master as commit 3f1ed953e8a596dc3a4924758a931b8a774bde5f.
diff mbox series

Patch

--- libgovirt-0.3.6/tests/mock-httpd.c.orig	2020-01-13 16:54:08.578009738 +0100
+++ libgovirt-0.3.6/tests/mock-httpd.c	2020-01-13 16:54:58.442238829 +0100
@@ -114,6 +114,9 @@ 
 		cert = g_tls_certificate_new_from_files (abs_srcdir "/https-cert/server-cert.pem",
 							 abs_srcdir "/https-cert/server-key.pem",
 							 &error);
+		if (error != NULL) {
+			fprintf(stderr, "ERROR: %s\n", error->message);
+		}
 		g_assert (error == NULL);
 		server = soup_server_new (SOUP_SERVER_SERVER_HEADER, "simple-soup-httpd ",
 					  SOUP_SERVER_TLS_CERTIFICATE, cert,