Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions geo.t
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ http {

EOF

$t->write_file('nginx.conf', $t->read_file('nginx.conf') =~ s/ geo\./ *geo./gr)
if $t->has_version('1.29.8');
$t->write_file('1', '');
$t->write_file('2', '');
$t->write_file('geo.conf', '127.0.0.0/8 loopback;');
Expand Down
2 changes: 0 additions & 2 deletions geo_binary.t
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ use Test::Nginx;
select STDERR; $| = 1;
select STDOUT; $| = 1;

plan(skip_all => 'long configuration parsing') unless $ENV{TEST_NGINX_UNSAFE};

my $t = Test::Nginx->new()->has(qw/http geo/);

$t->write_file_expand('nginx.conf', <<'EOF');
Expand Down
2 changes: 2 additions & 0 deletions stream_geo.t
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ stream {

EOF

$t->write_file('nginx.conf', $t->read_file('nginx.conf') =~ s/ geo\./ *geo./gr)
if $t->has_version('1.29.8');
$t->write_file('geo.conf', '127.0.0.0/8 loopback;');
$t->write_file('geo-ranges.conf', '127.0.0.0-127.255.255.255 loopback;');

Expand Down
2 changes: 0 additions & 2 deletions stream_geo_binary.t
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ use Test::Nginx::Stream qw/ stream /;
select STDERR; $| = 1;
select STDOUT; $| = 1;

plan(skip_all => 'long configuration parsing') unless $ENV{TEST_NGINX_UNSAFE};

my $t = Test::Nginx->new()->has(qw/stream stream_return stream_geo/);

$t->write_file_expand('nginx.conf', <<'EOF');
Expand Down