mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Skip http/ipv6_for_domain test when we have no ipv6 support
This commit is contained in:
parent
5e161c66c5
commit
21477e408f
@ -962,6 +962,10 @@ http_connection_test_(struct basic_test_data *data, int persistent, const char *
|
||||
test_ok = 0;
|
||||
|
||||
http = http_setup(&port, data->base, ipv6);
|
||||
if (!http && ipv6) {
|
||||
tt_skip();
|
||||
}
|
||||
tt_assert(http);
|
||||
|
||||
evcon = evhttp_connection_base_new(data->base, dnsbase, address, port);
|
||||
tt_assert(evcon);
|
||||
|
Loading…
x
Reference in New Issue
Block a user