all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob ba70ba593310d19526d9fb384a950b4daf1ce407 564 bytes (raw)
name: gnu/packages/patches/torsocks-dns-test.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 
Skip DNS tests that rely on the ability to look up arbitary
host names.

--- torsocks/tests/test_dns.c	2015-11-10 18:30:53.955941984 +0100
+++ torsocks/tests/test_dns.c	2015-11-10 18:31:02.199941892 +0100
@@ -134,11 +134,8 @@ static void test_getaddrinfo(const struc
 int main(int argc, char **argv)
 {
 	/* Libtap call for the number of tests planned. */
-	plan_tests(NUM_TESTS);
+	plan_tests(1);
 
-	test_getaddrinfo(&tor_check);
-    test_gethostbyname(&tor_dir_auth1);
-	test_gethostbyaddr(&tor_dir_auth2);
 	test_getaddrinfo(&tor_localhost);
 
     return 0;

debug log:

solving ba70ba5 ...
found ba70ba5 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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.