diff proxy_ssl_name.t @ 1190:fcd65708672d

Tests: let tests pass on travis-ci VMs with disabled IPv6 loopback.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 15 Jun 2017 19:42:26 +0300
parents 7e81d47faa07
children 0af58b78df35
line wrap: on
line diff
--- a/proxy_ssl_name.t
+++ b/proxy_ssl_name.t
@@ -24,7 +24,7 @@ select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
 my $t = Test::Nginx->new()->has(qw/http http_ssl sni proxy/)
-	->has_daemon('openssl')->plan(9)
+	->has_daemon('openssl')
 	->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%
@@ -134,7 +134,7 @@ foreach my $name ('localhost') {
 
 $t->write_file('index.html', '');
 
-$t->run();
+$t->try_run('no inet6 support')->plan(9);
 
 ###############################################################################