Tests: upstream_ip_hash_ipv6.t startup fixes.
diff --git a/upstream_ip_hash_ipv6.t b/upstream_ip_hash_ipv6.t
index 33b9130..3850229 100644
--- a/upstream_ip_hash_ipv6.t
+++ b/upstream_ip_hash_ipv6.t
@@ -26,7 +26,7 @@
select STDOUT; $| = 1;
my $t = Test::Nginx->new()->has(qw/http proxy upstream_ip_hash realip unix/)
- ->write_file_expand('nginx.conf', <<'EOF')->run();
+ ->write_file_expand('nginx.conf', <<'EOF');
%%TEST_GLOBALS%%
@@ -95,10 +95,12 @@
EOF
+$t->try_run('no inet6 support');
+
plan(skip_all => 'no 127.0.0.1 on host')
if http_get('/') !~ /X-IP: 127.0.0.1/m;
-$t->try_run('no inet6 support')->plan(4);
+$t->plan(4);
###############################################################################