Skip http/ipv6_for_domain test when we have no ipv6 support

This commit is contained in:
Nick Mathewson 2014-03-12 18:13:19 -04:00
parent 5e161c66c5
commit 21477e408f

View File

@ -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);