mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-12 09:56:14 -05:00
eb39051936
* gnu/packages/patches/libevent-dns-tests.patch: New file. * Makefile.am (dist_patch_DATA): Add it.
16 lines
791 B
Diff
16 lines
791 B
Diff
Disable tests that rely on usable DNS lookups, which aren't available
|
|
in build chroots.
|
|
|
|
--- libevent-2.0.21-stable/test/regress_dns.c 2013-01-20 22:32:09.000000000 +0100
|
|
+++ libevent-2.0.21-stable/test/regress_dns.c 2013-01-20 22:32:30.000000000 +0100
|
|
@@ -1827,10 +1827,6 @@ end:
|
|
|
|
struct testcase_t dns_testcases[] = {
|
|
DNS_LEGACY(server, TT_FORK|TT_NEED_BASE),
|
|
- DNS_LEGACY(gethostbyname, TT_FORK|TT_NEED_BASE|TT_NEED_DNS),
|
|
- DNS_LEGACY(gethostbyname6, TT_FORK|TT_NEED_BASE|TT_NEED_DNS),
|
|
- DNS_LEGACY(gethostbyaddr, TT_FORK|TT_NEED_BASE|TT_NEED_DNS),
|
|
- { "resolve_reverse", dns_resolve_reverse, TT_FORK, NULL, NULL },
|
|
{ "search", dns_search_test, TT_FORK|TT_NEED_BASE, &basic_setup, NULL },
|
|
{ "search_cancel", dns_search_cancel_test,
|
|
TT_FORK|TT_NEED_BASE, &basic_setup, NULL },
|