Mercurial > hg > nginx-tests
comparison stream_variables.t @ 1171:cdbdb75cf194
Tests: dropped try_run() checks for hosts without IPv6 support.
Tests for geoip are special as they depend on IPv6 support in the GeoIP library.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 04 May 2017 14:31:10 +0300 |
parents | cf14cfe9ec8c |
children | fcd65708672d |
comparison
equal
deleted
inserted
replaced
1170:cf14cfe9ec8c | 1171:cdbdb75cf194 |
---|---|
74 } | 74 } |
75 } | 75 } |
76 | 76 |
77 EOF | 77 EOF |
78 | 78 |
79 $t->try_run('no stream return and/or inet6 support')->plan(8); | 79 $t->try_run('no stream return')->plan(8); |
80 | 80 |
81 ############################################################################### | 81 ############################################################################### |
82 | 82 |
83 chomp(my $hostname = lc `hostname`); | 83 chomp(my $hostname = lc `hostname`); |
84 like(stream()->read(), qr/^\d+:[\d.]+:$hostname:\d+:0$/, 'vars'); | 84 like(stream()->read(), qr/^\d+:[\d.]+:$hostname:\d+:0$/, 'vars'); |