mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-15 15:25:09 -04: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;
|
test_ok = 0;
|
||||||
|
|
||||||
http = http_setup(&port, data->base, ipv6);
|
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);
|
evcon = evhttp_connection_base_new(data->base, dnsbase, address, port);
|
||||||
tt_assert(evcon);
|
tt_assert(evcon);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user