Mercurial > hg > nginx-tests
comparison stream_geo_ipv6.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 | cdbdb75cf194 |
children | 3fc6817cd84a |
comparison
equal
deleted
inserted
replaced
1189:1c703303feee | 1190:fcd65708672d |
---|---|
84 } | 84 } |
85 } | 85 } |
86 | 86 |
87 EOF | 87 EOF |
88 | 88 |
89 $t->try_run('no stream geo')->plan(6); | 89 $t->try_run('no stream geo or inet6 support')->plan(6); |
90 | 90 |
91 ############################################################################### | 91 ############################################################################### |
92 | 92 |
93 my %data = stream()->read() =~ /(\w+):(\w+)/g; | 93 my %data = stream()->read() =~ /(\w+):(\w+)/g; |
94 is($data{geo}, 'loopback', 'geo ipv6'); | 94 is($data{geo}, 'loopback', 'geo ipv6'); |