unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob e0536712a597f29c278b871b4721da5a86c9836c 579 bytes (raw)
name: packages/patches/gnutls-skip-trust-store-test.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
Version 3.5.11 added a test to check that the default trust store is readable.
It does not exist in the build environment, so pretend everything is fine.

diff a/tests/trust-store.c b/tests/trust-store.c
--- a/tests/trust-store.c
+++ b/tests/trust-store.c
@@ -61,7 +61,7 @@
 	} else if (ret < 0) {
 		fail("error loading system trust store: %s\n", gnutls_strerror(ret));
 	} else if (ret == 0) {
-		fail("no certificates were found in system trust store!\n");
+		success("no trust store in the Guix build environment!\n");
 	}
 
 	gnutls_certificate_free_credentials(x509_cred);

debug log:

solving e0536712a597f29c278b871b4721da5a86c9836c ...
found e0536712a597f29c278b871b4721da5a86c9836c in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).